文件名问题找不到原因在那?求指点

蓝帅 发布于 2014/11/11 15:21
阅读 308
收藏 0

Starting JFinal 1.9
Starting scanner at interval of 5 seconds.
Starting web server on port: 8080
2014-11-11 15:17:53.575:WARN:oejuc.AbstractLifeCycle:FAILED JFinal: java.lang.NullPointerException
java.lang.NullPointerException
at com.jfinal.plugin.activerecord.ModelRecordElResolver.init(ModelRecordElResolver.java:46)
at com.jfinal.render.RenderFactory.initJspRender(RenderFactory.java:112)
at com.jfinal.render.RenderFactory.init(RenderFactory.java:68)
at com.jfinal.core.JFinal.initRender(JFinal.java:121)
at com.jfinal.core.JFinal.init(JFinal.java:72)
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:120)
at com.jfinal.server.JettyServer.start(JettyServer.java:64)
at com.jfinal.core.JFinal.start(JFinal.java:159)
at cn.zeny.config.Config.main(Config.java:55)
2014-11-11 15:17:53.576:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/,file:/F:/eclipse/PP2/WebRoot/}
java.lang.NullPointerException
at com.jfinal.plugin.activerecord.ModelRecordElResolver.init(ModelRecordElResolver.java:46)
at com.jfinal.render.RenderFactory.initJspRender(RenderFactory.java:112)
at com.jfinal.render.RenderFactory.init(RenderFactory.java:68)
at com.jfinal.core.JFinal.initRender(JFinal.java:121)
at com.jfinal.core.JFinal.init(JFinal.java:72)
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:120)
at com.jfinal.server.JettyServer.start(JettyServer.java:64)
at com.jfinal.core.JFinal.start(JFinal.java:159)
at cn.zeny.config.Config.main(Config.java:55)
Starting Complete. Welcome To The JFinal World :)

这个错卡住了好几天了,按网上说的做了还是没用,不知道是不是少了什么插件吗?

加载中
1
本人纯属虚构
本人纯属虚构

你这提问的方式有严重的问题吧 什么场景也不交代 就贴一大堆的错误信息

1
JFinal
JFinal
改了什么地方? 能贴出代码来不、
1
蓝帅
蓝帅

引用来自“JFinal”的评论

改了什么地方? 能贴出代码来不、
引用路径,解决了
0
蓝帅
蓝帅

引用来自“本人纯属虚构”的评论

你这提问的方式有严重的问题吧 什么场景也不交代 就贴一大堆的错误信息

是在jfinal的demo里的,我只是修改了一点点东西就报这样的错,改回去也不行
返回顶部
顶部