fastjson2-extension-spring6在模块化中的问题
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
为什么fastjson2-extension的module-info类名和fastjson2的一样呢?模块名称不是应该唯一的吗?
是我哪里没有配置?还是?
### 相关日志输出
Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: D:\apache-maven\download\com\alibaba\fastjson2\fastjson2-extension\2.0.42\fastjson2-extension-2.0.42.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Dependence on self
Contributor guide
Research direction
Start by comparing the module-info declarations in fastjson2-extension and fastjson2, using the reported fastjson2-extension-2.0.42.jar and its boot-layer error as the reproduction. Determine which module dependency is treated as self-referential, then verify that the modular setup loads without InvalidModuleDescriptorException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100