gpt4 book ai didi

tomcat - Apache Trinidad Apps 可以在 Tomcat 8 上运行吗?

转载 作者:行者123 更新时间:2023-11-28 23:34:21 26 4
gpt4 key购买 nike

我们有一个基于 Apache Trinidad 的应用程序,可以在 Tomcat 6 和 7 上正常运行。同一个应用程序在 Tomcat 8 上抛出以下异常。Trinidad lib 版本是 2.1.0,MyFaces lib 版本是 2.1.16。

org.apache.jasper.JasperException: An exception occurred processing JSP page /login.jspx at line 14

11: <link rel="shortcut icon" href="/pervasync/images/pvs_logo_32_32.ico"/>
12: </trh:head>
13: <trh:body>
14: <tr:document title="...">
15: <head>
16: <link rel="shortcut icon" type="image/png" href="/pervasync/images/pvs_logo_32_32.png"/>
17: </head>


Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:335)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
...

Caused by: java.lang.NullPointerException
at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:113)
at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.setProperty(UIXComponentELTag.java:297)
at org.apache.myfaces.trinidadinternal.taglib.core.CoreDocumentTag.setProperties(CoreDocumentTag.java:179)
at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.setProperties(UIXComponentELTag.java:284)
at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:98)
at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.createComponent(UIXComponentELTag.java:223)
at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:1195)
at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:514)
at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:113)
at org.apache.jsp.login_jspx._jspx_meth_tr_005fdocument_005f0(login_jspx.java:282)
at org.apache.jsp.login_jspx._jspx_meth_trh_005fbody_005f0(login_jspx.java:250)
at org.apache.jsp.login_jspx._jspx_meth_trh_005fhtml_005f0(login_jspx.java:175)
at org.apache.jsp.login_jspx._jspx_meth_f_005fview_005f0(login_jspx.java:135)
at org.apache.jsp.login_jspx._jspService(login_jspx.java:96)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
... 56 more

最佳答案

这似乎是错误 TRINIDAD-2483 ,似乎已在即将发布的 2.1.1 版本中修复。

关于tomcat - Apache Trinidad Apps 可以在 Tomcat 8 上运行吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26110360/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com