自动模块 未命名模块 java,Java 11无法派生模块描述符

在尝试编译使用Java 11的模块化应用时,遇到了'Error occurred during initialization of boot layer'错误,原因是依赖中存在自动模块xalan-2.7.2.jar的BSFManager类不在模块中。解决方案包括检查维护状态,更新或修补库,或者向维护者报告问题寻找替代方案。
摘要由CSDN通过智能技术生成

I am getting this error message when I try to compile my new modularized Java 11 application:

Error occurred during initialization of boot layer

java.lang.module.FindException: Unable to derive module descriptor for C:\Users\inter\.m2\repository\xalan\xalan\2.7.2\xalan-2.7.2.jar

Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.apache.bsf.BSFManager not in module

This appears to be an issue from a dependency of a dependency. I can't even find which module is pulling it in so I can update it.

I am using openjdk 11.0.2, IntelliJ 2018.3.4, Maven

Any advice how I can troubleshoot or fix this? I have found very little documentation on this issue.

解决方案

I had a look at their bug tracker following their index page and wasn't able to find this reported and not sure how actively is the library being maintai

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值