org.apache.jasper.JasperException: 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 PWC6199: Generated servlet error: string:///index_jsp.java:5: package javax.servlet.jsp does not exist PWC6199: Generated servlet error: string:///index_jsp.java:13: package org.apache.jasper.runtime does not exist PWC6199: Generated servlet error: string:///index_jsp.java:14: package org.apache.jasper.runtime does not exist PWC6199: Generated servlet error: string:///index_jsp.java:16: cannot find symbol symbol : class JspFactory location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:20: package org.glassfish.jsp.api does not exist PWC6199: Generated servlet error: string:///index_jsp.java:26: cannot find symbol symbol : class HttpServletRequest location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:26: cannot find symbol symbol : class HttpServletResponse location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:27: cannot find symbol symbol : class ServletException location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:16: cannot find symbol symbol : variable JspFactory location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:29: cannot find symbol symbol : class PageContext location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:30: cannot find symbol symbol : class HttpSession location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:31: cannot find symbol symbol : class ServletContext location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:32: cannot find symbol symbol : class ServletConfig location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:33: cannot find symbol symbol : class JspWriter location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:34: incompatible types found : org.apache.jsp.index_jsp required: java.lang.Object PWC6199: Generated servlet error: string:///index_jsp.java:35: cannot find symbol symbol : class JspWriter location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:36: cannot find symbol symbol : class PageContext location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:49: package org.glassfish.jsp.api does not exist PWC6199: Generated servlet error: string:///index_jsp.java:237: cannot find symbol symbol : class SkipPageException location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:242: cannot find symbol symbol : class ServletException location: class org.apache.jsp.index_jsp at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:126) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:296)

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Java.net JIRA by bavik78, 1 year 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
via Java.net JIRA by bavik78, 1 year 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
via nabble.com by Unknown author, 2 years 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
via Java.net JIRA by lidiam, 1 year ago
PWC6033: Unable to compile class for JSP PWC6197: An error occurred at line: 10 in the jsp file: /addremove/basic.jsp PWC6199: Generated servlet error: string:///basic_jsp.java:183: cannot find symbol symbol : method setJspId(java.lang.String
via Java.net JIRA by lidiam, 1 year ago
PWC6033: Unable to compile class for JSP PWC6197: An error occurred at line: 10 in the jsp file: /addremove/basic.jsp PWC6199: Generated servlet error: string:///basic_jsp.java:183: cannot find symbol symbol : method setJspId(java.lang.String
via Google Groups by Freddy Simonis, 1 month 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 > > at > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle > r.java:130) > at > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2 > 93)
org.apache.jasper.JasperException: 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 PWC6199: Generated servlet error: string:///index_jsp.java:5: package javax.servlet.jsp does not exist PWC6199: Generated servlet error: string:///index_jsp.java:13: package org.apache.jasper.runtime does not exist PWC6199: Generated servlet error: string:///index_jsp.java:14: package org.apache.jasper.runtime does not exist PWC6199: Generated servlet error: string:///index_jsp.java:16: cannot find symbol symbol : class JspFactory location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:20: package org.glassfish.jsp.api does not exist PWC6199: Generated servlet error: string:///index_jsp.java:26: cannot find symbol symbol : class HttpServletRequest location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:26: cannot find symbol symbol : class HttpServletResponse location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:27: cannot find symbol symbol : class ServletException location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:16: cannot find symbol symbol : variable JspFactory location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:29: cannot find symbol symbol : class PageContext location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:30: cannot find symbol symbol : class HttpSession location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:31: cannot find symbol symbol : class ServletContext location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:32: cannot find symbol symbol : class ServletConfig location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:33: cannot find symbol symbol : class JspWriter location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:34: incompatible types found : org.apache.jsp.index_jsp required: java.lang.Object PWC6199: Generated servlet error: string:///index_jsp.java:35: cannot find symbol symbol : class JspWriter location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:36: cannot find symbol symbol : class PageContext location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:49: package org.glassfish.jsp.api does not exist PWC6199: Generated servlet error: string:///index_jsp.java:237: cannot find symbol symbol : class SkipPageException location: class org.apache.jsp.index_jsp PWC6199: Generated servlet error: string:///index_jsp.java:242: cannot find symbol symbol : class ServletException location: class org.apache.jsp.index_jsp at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:126) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:296)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:372)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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