[BUG] java.lang.LayerInstantiationException: Package com.alibaba.fastjson2.support in both module com.alibaba.fastjson2 and module com.alibaba.fastjson2.extension
Open
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
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