How to deploy JSF 1.2 app for Tomice 1.7.1?

I tried to deploy my application from JSF 1.2 to TomEE 1.7.1 web profile and of course got exceptions due to JSF 2.0-Libs in TomEE ....

According to the article Can I deploy MyFaces 1.1.5 JSF applications to TomEE? I have removed the following libraries from TomEE lib directory: - myfaces-api-2.1.15.jar - myfaces-impl-2.1.15.jar

When I run the application, I get:

SEVERE: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError: javax/faces/application/ApplicationWrapper

      

Is there a way to disable JSF 2.x support for each application?

+3


source to share





All Articles