JSF application error running on WAS v7.0

WAS 7.0 is a JEE 5 container which is defined to contain a JSF 1.2 framework implementation. This implementation cannot be overridden by an application. If a web application contains a JSF implementation a runtime error similar to the following may appear:

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
Resolving the problem

If you run into this condition and wish for your application to run on WAS v7.0 then you should follow these steps:

1) Remove the classpath for jsf-api.jar and jsf-impl.jar via Java Build Path UI accessible from the Project Properties.
2) Delete the files jsf-api.jar and jsf-impl.jar from WEB-INF/lib folder.
3) Clean and rebuild the project
4) Remove the EAR containing the project from the Servers view.
5) Run the JSP page on server again.
IBM(R) Websphere(R) Application Server: The Complete ReferenceProgramming Portlets: An Introduction Using IBM WebSphere PortalIBM WebSphere DataPower SOA Appliance HandbookMastering IBM WebSphere Portal: Expert Guidance to Build and Deploy Portal ApplicationsPro (IBM) WebSphere Application Server 7 Internals