3
回答
jfinal 2.0jar 替换成jfinal2.2jar项目启动报错!!
【腾讯云】校园拼团福利,1核2G服务器10元/月!>>>   

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

你好波哥,我的项目里面使用jfinal 2.0的jar包没问题,可是我替换成jfinal2.2jar包就报下面的错,你帮我看看,好像是Logger的问题。这个要怎么办呀?
java.lang.NoClassDefFoundError: com/jfinal/log/Logger
at com.jfinal.plugin.scheduler.SchedulerPlugin.<clinit>(SchedulerPlugin.java:42)
at com.oa.backstage.config.SystemConfig.configPlugin(SystemConfig.java:78)
at com.jfinal.core.Config.configJFinal(Config.java:49)
at com.jfinal.core.JFinal.init(JFinal.java:62)
at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49)
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:724)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:277)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at com.jfinal.server.JettyServer.doStart(JettyServer.java:122)
at com.jfinal.server.JettyServer.start(JettyServer.java:65)
at com.jfinal.core.JFinal.start(JFinal.java:154)
at com.oa.backstage.config.SystemConfig.main(SystemConfig.java:113)

举报
木易大虾
发帖于2年前 3回/768阅
顶部