org.apache.jasper.JasperException

PWC6033: Unable to compile class for JSP PWC6199: Generated servlet error: string:///jsfHello_jsp.java:3: package javax.servlet does not exist PWC6199: Generated servlet error: string:///jsfHello_jsp.java:4: package javax.servlet.http does not exist PWC6199: Generated servlet error: string:///jsfHello_jsp.java:5: package javax.servlet.jsp does not exist PWC6199: Generated servlet error: string:///jsfHello_jsp.java:7: cannot access javax.servlet.jsp.HttpJspPage class file for javax.servlet.jsp.HttpJspPage not found PWC6199: Generated servlet error: string:///jsfHello_jsp.java:10: cannot find symbol symbol : class JspFactory location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:36: cannot find symbol symbol : class HttpServletRequest location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:36: cannot find symbol symbol : class HttpServletResponse location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:37: cannot find symbol symbol : class ServletException location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:115: cannot find symbol symbol : class PageContext location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:162: package javax.servlet.jsp.tagext does not exist PWC6199: Generated servlet error: string:///jsfHello_jsp.java:162: cannot find symbol symbol : class PageContext location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:212: cannot find symbol symbol : class PageContext location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:234: cannot find symbol symbol : class PageContext location: class org.apache.jsp.jsfHello_jsp

Solutions on the web2587

  • via Oracle Community by 392 Guest, 11 months ago
    PWC6033: Unable to compile class for JSP PWC6199: Generated servlet error: string:///jsfHello_jsp.java:3: package javax.servlet does not exist PWC6199: Generated servlet error: string:///jsfHello_jsp.java:4: package javax.servlet.http does not exist
  • org.apache.jsp.WEB_002dINF.pages.serverStatus_jsp||PWC6199: Generated servlet error:|package org.glassfish.jsp.api does not exist||PWC6197: An error occurred at line: 3 in the jsp file: /WEB-INF/pages/serverStatus.jsp|PWC6199: Generated servlet error:|cannot find symbol| symbol: class
  • via Java.net JIRA by bavik78, 11 months ago
    PWC6033: Error in Javac compilation for JSP PWC6199: Generated servlet error: string:///index_jsp.java:3: package javax.servlet does not exist PWC6199: Generated servlet error: string:///index_jsp.java:4: package javax.servlet.http does not exist
  • Stack trace

    • org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP PWC6199: Generated servlet error: string:///jsfHello_jsp.java:3: package javax.servlet does not exist PWC6199: Generated servlet error: string:///jsfHello_jsp.java:4: package javax.servlet.http does not exist PWC6199: Generated servlet error: string:///jsfHello_jsp.java:5: package javax.servlet.jsp does not exist PWC6199: Generated servlet error: string:///jsfHello_jsp.java:7: cannot access javax.servlet.jsp.HttpJspPage class file for javax.servlet.jsp.HttpJspPage not found PWC6199: Generated servlet error: string:///jsfHello_jsp.java:10: cannot find symbol symbol : class JspFactory location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:36: cannot find symbol symbol : class HttpServletRequest location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:36: cannot find symbol symbol : class HttpServletResponse location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:37: cannot find symbol symbol : class ServletException location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:115: cannot find symbol symbol : class PageContext location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:162: package javax.servlet.jsp.tagext does not exist PWC6199: Generated servlet error: string:///jsfHello_jsp.java:162: cannot find symbol symbol : class PageContext location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:212: cannot find symbol symbol : class PageContext location: class org.apache.jsp.jsfHello_jsp PWC6199: Generated servlet error: string:///jsfHello_jsp.java:234: cannot find symbol symbol : class PageContext location: class org.apache.jsp.jsfHello_jsp at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:123) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:296) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:367) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:428) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:361) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:491) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:384) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:869) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:554) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:485) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:377) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) at jsfinjection.FilterTest.doFilter(FilterTest.java:79) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:451) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:284) at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:621) at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:552) at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:800) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152) at com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:82) at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:61) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56) at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:169)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    14 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    73 more bugmates