This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 31st, when you will be able to use this site as normal.

    Forum Stats

  • 3,890,899 Users
  • 2,269,649 Discussions
  • 7,916,821 Comments

Discussions

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.