GlassFish Server를 사용하여 localhost에서 JSF 응용 프로그램을 개발할 때 문제가 발생하지만 서버 (Tomcat 7.0)에 배포하면 다음 예외가 표시되므로 아무도이 문제를 해결할 수 있습니까?Tomcat 서버에 JSF 응용 프로그램을 배포 할 때 오류가 발생했습니다.
org.apache.jasper.JasperException: Unable to convert string "#{initParam.pageWidth}" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager
org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:846)
org.apache.jsp.details_jsp._jspx_meth_h_005foutputText_005f0(details_jsp.java:415)
org.apache.jsp.details_jsp._jspService(details_jsp.java:159)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:546)
com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:363)
com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:153)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
note The full stack trace of the root cause is available in the VMware vFabric tc Runtime 2.6.1.RELEASE/7.0.20.B.RELEASE logs.
# {initParam.pageWidth} "는 Tomcat 런타임 라이브러리에 lib가 없다는 것을 의미합니까? http://weblogs.java.net/blog/cayhorstmann/archive/2009/12/29/jsf-20-and-tomcat – user1428716
버전을 포함하여,/WEB-INF는/lib''에 당신이 가지고있는 단지를 적어주십시오. – BalusC
JSF-api.jar을 2.0 JSF-impl.jar 2.0 jstl.jar – user1676876