Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Java Web Project Deployment Issue

I am using NetBeans version 15 and GlassFish version 6.2. To start with, I created a new JavaWeb Project. I deleted the ".xhtml" file and created the ".jsp" file instead. This is a trial project. I compiled it by right-clicking on the project > Build. I selected the ".war" file over GlassFish Server and Deployed it. But I am getting the below error. What could be the solution for this error? Thanks for your help.

An error has occurred Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet. Please see server.log for more details. An error has occurred
Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet. Please see server.log for more details.

Comments

Post Details

Added on Oct 15 2022
0 comments
416 views