jfinal2.0在本地运行ok,发布的Linux resin上面出错

RyanMiao 发布于 2015/08/01 16:41
阅读 348
收藏 0
之前跑1.8没问题,@jFinal
如题,一启动就出错了。

项目引用包:

resin3中lib结构:



tail: ../ServiceLog/console.txt: file truncated
[16:37:42.616] javax.servlet.ServletException: java.lang.AbstractMethodError: javax.serv
let.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;[16:37:42.616] 	at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.j
ava:164)[16:37:42.616] 	at com.caucho.server.dispatch.FilterManager.init(FilterManager.java:87)
[16:37:42.616] 	at com.caucho.server.webapp.Application.start(Application.java:1605)
[16:37:42.616] 	at com.caucho.server.deploy.DeployController.startImpl(DeployController.
java:621)[16:37:42.616] 	at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(St
artAutoRedeployAutoStrategy.java:72)[16:37:42.616] 	at com.caucho.server.deploy.DeployController.startOnInit(DeployControlle
r.java:509)[16:37:42.616] 	at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:1
58)[16:37:42.616] 	at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContai
ner.java:652)[16:37:42.616] 	at com.caucho.server.host.Host.start(Host.java:385)
[16:37:42.616] 	at com.caucho.server.deploy.DeployController.startImpl(DeployController.
java:621)[16:37:42.616] 	at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(St
artAutoRedeployAutoStrategy.java:72)[16:37:42.616] 	at com.caucho.server.deploy.DeployController.startOnInit(DeployControlle
r.java:509)[16:37:42.616] 	at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:1
58)[16:37:42.616] 	at com.caucho.server.host.HostContainer.start(HostContainer.java:501)
[16:37:42.616] 	at com.caucho.server.resin.ServletServer.start(ServletServer.java:977)
[16:37:42.616] 	at com.caucho.server.deploy.DeployController.startImpl(DeployController.
java:621)[16:37:42.616] 	at com.caucho.server.deploy.AbstractDeployControllerStrategy.start(Abstr
actDeployControllerStrategy.java:56)[16:37:42.616] 	at com.caucho.server.deploy.DeployController.start(DeployController.java
:517)[16:37:42.616] 	at com.caucho.server.resin.ResinServer.start(ResinServer.java:485)
[16:37:42.616] 	at com.caucho.server.resin.Resin.init(Resin.java)
[16:37:42.616] 	at com.caucho.server.resin.Resin.main(Resin.java:624)
[16:37:42.616] Caused by: java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.ge
tJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;[16:37:42.616] 	at com.jfinal.plugin.activerecord.ModelRecordElResolver.init(ModelRecord
ElResolver.java:46)[16:37:42.616] 	at com.jfinal.render.RenderFactory.initJspRender(RenderFactory.java:113)
[16:37:42.616] 	at com.jfinal.render.RenderFactory.init(RenderFactory.java:68)
[16:37:42.616] 	at com.jfinal.core.JFinal.initRender(JFinal.java:99)
[16:37:42.616] 	at com.jfinal.core.JFinal.init(JFinal.java:70)
[16:37:42.616] 	at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49)
[16:37:42.616] 	at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.j
ava:134)[16:37:42.616] 	... 20 more



加载中
0
JFinal
JFinal
   看不出原因来,异常格式化一下,并且要贴出更加详细的异常信息
JFinal
JFinal
回复 @ilikesss : 异常信没有贴完全,无法判断是什么原因
RyanMiao
RyanMiao
项目一启动就报错,贴出来引用包结构了。包冲突错误?我找不到哪里冲突了
0
EnoND
EnoND
使用的openjdk么  尝试换成 sun的jdk试试呢
RyanMiao
RyanMiao
没找到冲突,换了resin4就好了
返回顶部
顶部