Unable to start Jetty Server - Error scanning entry META-INF/versions/9/

折月煮酒 提交于 2019-12-22 09:49:31

问题


When running XACML-PAP-ADMIN and XACML-PAP-REST on Windows 10. Java jdk1.8.0_144. I get next error:

Error scanning entry META-INF/versions/9/module-info.class from jar file:///D:/Projects/XACML/XACML-PAP-ADMIN/target/xacml-pap-admin-2.0.0-SNAPSHOT/WEB-INF/lib/log4j-api-2.11.0.jar

回答1:


That could be linked to your version of Jetty, considering it fails on log4j 2.11 jar.

See this question:

log4j 2.9 and later are multi-release jars for Java 9.

Make sure to use a Jetty compatible with that, or use slf4j instead.



来源:https://stackoverflow.com/questions/51999676/unable-to-start-jetty-server-error-scanning-entry-meta-inf-versions-9

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!