java - Error scanning entry "module-info.class" when starting Jetty server -
i'm seeing when start java server. has else seen this? if whats fix? can confirm jar's , module-info.class present in relevant paths.
multiexception[java.lang.runtimeexception: error scanning entry module-info.class jar file:jetty/9.2.4.v20141103/tempdirectory/webapp/web-inf/lib/slf4j-api-1.8.0-alpha2.jar, java.lang.runtimeexception: error scanning entry module-info.class jar file:jetty/9.2.4.v20141103/tempdirectory/webapp/web-inf/lib/log4j-over-slf4j-1.8.0-alpha2.jar, java.lang.runtimeexception: error scanning entry module-info.class jar file:jetty/9.2.4.v20141103/tempdirectory/webapp/web-inf/lib/jcl-over-slf4j-1.8.0-alpha2.jar] @ org.eclipse.jetty.annotations.annotationconfiguration.scanforannotations(annotationconfiguration.java:535) @ org.eclipse.jetty.annotations.annotationconfiguration.configure(annotationconfiguration.java:446) @ org.eclipse.jetty.webapp.webappcontext.configure(webappcontext.java:473) @ org.eclipse.jetty.webapp.webappcontext.startcontext(webappcontext.java:1331) @ org.eclipse.jetty.server.handler.contexthandler.dostart(contexthandler.java:741) @ org.eclipse.jetty.webapp.webappcontext.dostart(webappcontext.java:499) @ org.eclipse.jetty.util.component.abstractlifecycle.start(abstractlifecycle.java:68) @ org.eclipse.jetty.deploy.bindings.standardstarter.processbinding(standardstarter.java:41) @ org.eclipse.jetty.deploy.applifecycle.runbindings(applifecycle.java:186) @ org.eclipse.jetty.deploy.deploymentmanager.requestappgoal(deploymentmanager.java:498) @ org.eclipse.jetty.deploy.deploymentmanager.addapp(deploymentmanager.java:146) @ org.eclipse.jetty.deploy.providers.scanningappprovider.fileadded(scanningappprovider.java:180) @ org.eclipse.jetty.deploy.providers.scanningappprovider$1.fileadded(scanningappprovider.java:64) @ org.eclipse.jetty.util.scanner.reportaddition(scanner.java:609) @ org.eclipse.jetty.util.scanner.reportdifferences(scanner.java:528) @ org.eclipse.jetty.util.scanner.scan(scanner.java:391) @ org.eclipse.jetty.util.scanner.dostart(scanner.java:313) @ org.eclipse.jetty.util.component.abstractlifecycle.start(abstractlifecycle.java:68) @ org.eclipse.jetty.deploy.providers.scanningappprovider.dostart(scanningappprovider.java:150) @ org.eclipse.jetty.util.component.abstractlifecycle.start(abstractlifecycle.java:68) @ org.eclipse.jetty.deploy.deploymentmanager.startappprovider(deploymentmanager.java:560) @ org.eclipse.jetty.deploy.deploymentmanager.dostart(deploymentmanager.java:235) @ org.eclipse.jetty.util.component.abstractlifecycle.start(abstractlifecycle.java:68) @ org.eclipse.jetty.util.component.containerlifecycle.start(containerlifecycle.java:132) @ org.eclipse.jetty.server.server.start(server.java:387) @ org.eclipse.jetty.util.component.containerlifecycle.dostart(containerlifecycle.java:114) @ org.eclipse.jetty.server.handler.abstracthandler.dostart(abstracthandler.java:61) @ org.eclipse.jetty.server.server.dostart(server.java:354) @ org.eclipse.jetty.util.component.abstractlifecycle.start(abstractlifecycle.java:68) @ org.eclipse.jetty.xml.xmlconfiguration$1.run(xmlconfiguration.java:1255) @ java.security.accesscontroller.doprivileged(native method) @ org.eclipse.jetty.xml.xmlconfiguration.main(xmlconfiguration.java:1174) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:483) @ org.eclipse.jetty.start.main.invokemain(main.java:323) @ org.eclipse.jetty.start.main.start(main.java:820) @ org.eclipse.jetty.start.main.main(main.java:112)
module-info.class
jdk9 (jpms) feature.
jetty not support jdk9 (yet)
issue @ https://github.com/eclipse/jetty.project/issues/1692
support ignoring module-info.class
in jar file scanning show in future jetty 9.4.x release.
Comments
Post a Comment