Unable to start Jetty Server - Error scanning entr

2019-05-11 19:44发布

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条回答
爷、活的狠高调
2楼-- · 2019-05-11 20:32

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.

查看更多
登录 后发表回答