Details
-
Dependency
-
Status: Closed
-
Major
-
Resolution: Resolved
-
1.9.0
-
None
-
win10, jdk8 mvn 3.6.0
Description
On mvn jetty:run, then the following error shows up.
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@45b96e4c{/,file:///E:/java_source/forCompile/shiro/samples/web/src/main/webapp/,UNAVAILABLE}
{file:///E:/java_source/forCompile/shiro/samples/web/src/main/webapp/}java.lang.NoClassDefFoundError: org/apache/logging/log4j/spi/AbstractLoggerAdapter
at java.lang.ClassLoader.defineClass1 (Native Method)
at java.lang.ClassLoader.defineClass (ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass (URLClassLoader.java:467)
at java.net.URLClassLoader.access$100 (URLClassLoader.java:73)
at java.net.URLClassLoader$1.run (URLClassLoader.java:368)
at java.net.URLClassLoader$1.run (URLClassLoader.java:362)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass (URLClassLoader.java:361)
at org.eclipse.jetty.webapp.WebAppClassLoader.foundClass (WebAppClassLoader.java:649)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadAsResource (WebAppClassLoader.java:622)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:534)
at java.lang.ClassLoader.loadClass (ClassLoader.java:357)
at org.slf4j.impl.StaticLoggerBinder.<clinit> (StaticLoggerBinder.java:36)
at org.slf4j.LoggerFactory.bind (LoggerFactory.java:150)
at org.slf4j.LoggerFactory.performInitialization (LoggerFactory.java:124)
at org.slf4j.LoggerFactory.getILoggerFactory (LoggerFactory.java:412)
at org.slf4j.LoggerFactory.getLogger (LoggerFactory.java:357)
at org.slf4j.LoggerFactory.getLogger (LoggerFactory.java:383)
Attachments
Issue Links
- links to