【发布时间】:2019-11-04 02:58:35
【问题描述】:
在这里我在构建我的多模块 maven 项目时遇到访问限制错误。
添加错误详情:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile (default-compile) on project my.project.ui.core.communication: Compilation failure: Compilation failure:
[ERROR] C:\HOME\SOME_DIR\my.project.ui.core.communication\src\my\project\ui\core\communication\logic\RequirementLibraryDelegate.java:[474]
[ERROR] LOGGER.severe(IRequirementLibraryLogIds.REQLIBMSGID0009, e.getMessage() + e);
[ERROR] ^^^^^^^^^^^^^^
[ERROR] Access restriction: The method 'EJBException.getMessage()' is not API (restriction on classpath entry 'C:\HOME\SOME_DIR\my.project.common.server\lib\j2ee.jar')
我已经尝试过的参考:Access restriction: Is not accessible due to restriction on required library ..\jre\lib\rt.jar
谁能帮我解决这个问题?
提前致谢:)
【问题讨论】: