JSF application error running on WAS v7.0


– Vấn đề : WAS 7.0 là 1 JEE 5 chứa định nghĩa cho 1 framework JSF 1.2 không thể thực thi ghi đè của ứng dụng. Lỗi xuất hiện như sau :

RESULT: HTTP 500 error in internal web browser and Console view shows
[8/21/08 11:40:35:390 PDT] 0000003a servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet /index.jsp in application TestEAR. Exception created : com.ibm.websphere.servlet.error.ServletErrorReport: com.ibm.ws.jsp.JspCoreException: Unable to convert string 'form' to class javax.el.ValueExpression for attribute styleClass: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager

–> Giải quyết vấn đề :

1) Xóa  classpath cho jsf-api.jarjsf-impl.jar via Java Build Path UI từ Project Properties.
2) Xóa files jsf-api.jar và  jsf-impl.jar từ thư mục WEB-INF/lib.
3) Xóa và rebuild lại project.
4) Xóa EAR chứa project từ Servers view.
5) Run the JSP page on server again.

 

 

 

Bình luận về bài viết này