开发者社区> 问答> 正文

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

之前跑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

展开
收起
kun坤 2020-05-30 23:00:56 604 0
1 条回答
写回答
取消 提交回答
  •    看不出原因来,异常格式化一下,并且要贴出更加详细的异常信息######回复 @ilikesss : 异常信没有贴完全,无法判断是什么原因######项目一启动就报错,贴出来引用包结构了。包冲突错误?我找不到哪里冲突了######使用的openjdk么  尝试换成 sun的jdk试试呢######没找到冲突,换了resin4就好了

    2020-05-30 23:01:02
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Alibaba Cloud Linux 3 发布 立即下载
ECS系统指南之Linux系统诊断 立即下载
ECS运维指南 之 Linux系统诊断 立即下载