Tomcat8中的JSF错误,但在Tomcat7中工作

时间:2017-12-29 11:32:17

标签: linux jsf tomcat8

我有一个JSF webapp在Linux Tomcat7和Windows(Tomcat7和Tomcat8.0.24)中完美地工作。但是在Linux Tomcat8.0.32中,它失败并出现错误:

javax.faces.FacesException: /app/login/IndexLogin.jsp (line: 8, column: 0) Absolute Uri: http://java.sun.com/jsf/core can not resolve 
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:431)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:255)
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:138)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:106)
org.apache.shale.application.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:267)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)

我已经阅读过有关JSTL 1.1和1.2的内容,虽然我不知道如何检查我正在使用哪一个,但令我感到困惑的是,为什么在Windows中它起作用,在Linux中也是如此jar库,它没有? ????

0 个答案:

没有答案