一、异常日志
2015-11-13 14:50:50.484:INFO:oejs.Server:jetty-8.1.12.v20130726@b@2015-11-13 14:50:52.607:WARN:oejuc.AbstractLifeCycle:FAILED jsp: java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory@b@java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory@b@ at org.apache.jasper.servlet.JspServlet.<init>(JspServlet.java:61)@b@ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)@b@ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)@b@ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)@b@ at java.lang.reflect.Constructor.newInstance(Constructor.java:513)@b@ at java.lang.Class.newInstance0(Class.java:357)@b@ at java.lang.Class.newInstance(Class.java:310)@b@ at org.eclipse.jetty.servlet.ServletContextHandler$Context.createServlet(ServletContextHandler.java:1075)@b@ at org.eclipse.jetty.servlet.ServletHolder.newInstance(ServletHolder.java:959)@b@ at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:516)@b@ at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:346)@b@ at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)@b@ at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:786)@b@ at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)@b@ at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)@b@ at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)@b@ at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)@b@ at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)@b@ at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)@b@ at org.eclipse.jetty.server.Server.doStart(Server.java:282)@b@ at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)@b@ at net.sourceforge.eclipsejetty.starter.embedded.JettyEmbeddedLauncherMain.start(JettyEmbeddedLauncherMain.java:74)@b@ at net.sourceforge.eclipsejetty.starter.common.AbstractJettyLauncherMain.launch(AbstractJettyLauncherMain.java:62)@b@ at net.sourceforge.eclipsejetty.starter.embedded.JettyEmbeddedLauncherMain.main(JettyEmbeddedLauncherMain.java:35)@b@Caused by: @b@java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory@b@ at java.net.URLClassLoader$1.run(URLClassLoader.java:202)@b@ at java.security.AccessController.doPrivileged(Native Method)@b@ at java.net.URLClassLoader.findClass(URLClassLoader.java:190)@b@ at java.lang.ClassLoader.loadClass(ClassLoader.java:306)@b@ at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)@b@ at java.lang.ClassLoader.loadClass(ClassLoader.java:247)@b@ at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:430)@b@ at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)@b@ at org.apache.jasper.servlet.JspServlet.<init>(JspServlet.java:61)@b@ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)@b@ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)@b@ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)@b@ at java.lang.reflect.Constructor.newInstance(Constructor.java:513)@b@ at java.lang.Class.newInstance0(Class.java:357)@b@ at java.lang.Class.newInstance(Class.java:310)@b@ at org.eclipse.jetty.servlet.ServletContextHandler$Context.createServlet(ServletContextHandler.java:1075)@b@ at org.eclipse.jetty.servlet.ServletHolder.newInstance(ServletHolder.java:959)@b@ at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:516)@b@ at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:346)@b@ at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)@b@ at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:786)@b@ at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)@b@ at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)@b@ at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)@b@ at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)@b@ at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)@b@ at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)@b@ at org.eclipse.jetty.server.Server.doStart(Server.java:282)@b@ at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)@b@ at net.sourceforge.eclipsejetty.starter.embedded.JettyEmbeddedLauncherMain.start(JettyEmbeddedLauncherMain.java:74)@b@ at net.sourceforge.eclipsejetty.starter.common.AbstractJettyLauncherMain.launch(AbstractJettyLauncherMain.java:62)@b@ at net.sourceforge.eclipsejetty.starter.embedded.JettyEmbeddedLauncherMain.main(JettyEmbeddedLauncherMain.java:35)@b@2015-11-13 14:50:52.657:INFO:/:Initializing Spring FrameworkServlet 'dispatcherServlet'@b@SLF4J: Class path contains multiple SLF4J bindings.@b@SLF4J: Found binding in [jar:file:/C:/NJ/JSPACE/vms/WebContent/WEB-INF/lib/logback-classic-0.9.28.jar!/org/slf4j/impl/StaticLoggerBinder.class]@b@SLF4J: Found binding in [jar:file:/C:/NJ/JSPACE/vms/WebContent/WEB-INF/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]@b@SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
二、解决步骤
1. 从“NoClassDefFoundError”错误信息,判断缺少tomcat-juli.jar包,点击下载
2. 将tomcat-juli.jar复制到项目lib目录(或者在pom文件里面添加依赖关系)