发布到tomcat7 出现如下错误

熊猫2014 发布于 2014/12/19 11:33
阅读 1K+
收藏 0
ECP

@龙影 你好,想跟你请教个问题:

[DEBUG]-[Thread: localhost-startStop-1]-[net.loyin.cfg.JFWebConfig.configRoute()]: 配置路由
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
十二月 19, 2014 11:31:51 上午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter jfinal
java.lang.NoClassDefFoundError: de/odysseus/el/ExpressionFactoryImpl
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
at java.lang.Class.getConstructor0(Class.java:2803)
at java.lang.Class.newInstance(Class.java:345)
at org.snaker.engine.helper.ClassHelper.instantiate(ClassHelper.java:106)
at org.snaker.engine.impl.SimpleContext.put(SimpleContext.java:105)
at org.snaker.engine.core.ServiceContext.put(ServiceContext.java:95)
at org.snaker.engine.cfg.Configuration.parser(Configuration.java:185)
at org.snaker.engine.cfg.Configuration.parser(Configuration.java:127)
at org.snaker.engine.cfg.Configuration.buildSnakerEngine(Configuration.java:97)
at org.snaker.jfinal.plugin.SnakerPlugin.start(SnakerPlugin.java:65)
at net.loyin.cfg.JFWebConfig.configPlugin(JFWebConfig.java:107)
at com.jfinal.core.Config.configJFinal(Config.java:48)
at com.jfinal.core.JFinal.init(JFinal.java:67)
at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:64)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4797)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5473)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassNotFoundException: de.odysseus.el.ExpressionFactoryImpl
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)
... 27 more


十二月 19, 2014 11:31:51 上午 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
十二月 19, 2014 11:31:51 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/ECP-OPEN] startup failed due to previous errors
十二月 19, 2014 11:31:51 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
十二月 19, 2014 11:31:51 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
十二月 19, 2014 11:31:51 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 13127 ms


加载中
0
sunzhyng
sunzhyng
检查slf4j.jar是否引入或者冲突
0
龙影
龙影
你用的是低版本的tomcat 需要使用tomcat8.0 jdk1.7以上
0
采飞扬
采飞扬
java.lang.NoClassDefFoundError: de/odysseus/el/ExpressionFactoryImpl
0
北极星愿
北极星愿

我也报同样错误,不知道怎么回事,tomcat8.0,jdk18

tomcat静态部署

0
春丰

大家好!我现在也遇到这个一样的问题,请怎么处理?谢谢!

返回顶部
顶部