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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 392 Guest, 1 year 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
via oschina.net by Unknown author, 2 years ago
PWC6033: Error in Javac compilation for JSP PWC6199: Generated servlet error: ???org.apache.jasper.runtime??? PWC6199: Generated servlet error: ???org.apache.jasper.runtime??? PWC6199: Generated servlet error: ???org.glassfish.jsp.api??? PWC6199
via GitHub by juristr
, 2 years ago
PWC6033: Unable to compile class for JSP
via Eclipse Bugzilla by salwa.alzhmi, 1 year ago
Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file
via Google Groups by vaishnav kovvuri, 7 months ago
PWC6033: Error in Javac compilation for JSP PWC6199: Generated servlet error: The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
via Stack Overflow by Alok Jain
, 4 months ago
PWC6033: Unable to compile class for JSP PWC6197: An error occurred at line: 41 in the jsp file: /admin/stats.jsp PWC6199: Generated servlet error: The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
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 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 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 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 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 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.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)

Users with the same issue

12 times, 1 year ago
14 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.