alibaba / alibaba/fastjson2

[BUG] java.lang.LayerInstantiationException: Package com.alibaba.fastjson2.support in both module com.alibaba.fastjson2 and module com.alibaba.fastjson2.extension

Open
#2,785 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
4.4k
Forks
613
Avg merge
1d 22h
Merged PRs (30d)
6

Description

Error occurred during initialization of boot layer
java.lang.LayerInstantiationException: Package com.alibaba.fastjson2.support in both module com.alibaba.fastjson2 and module com.alibaba.fastjson2.extension

fastjson2-2.0.51.jar
fastjson2-extension-2.0.51.jar

Contributor guide

Open the contributing guide

Research direction

Start by reproducing boot-layer initialization with fastjson2-2.0.51.jar and fastjson2-extension-2.0.51.jar, then inspect which packages each module contains. Done means the two modules no longer provide com.alibaba.fastjson2.support simultaneously and initialization succeeds without the LayerInstantiationException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.