org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. ..\ClassCache\https-sgp-web.sci.sing.seagate.com\departments\eis\_jsps\_testuser_jsp.java:60: Class jsp.UserProfile not found. jsp.UserProfile profile = null; ^ ..\ClassCache\https-sgp-web.sci.sing.seagate.com\departments\eis\_jsps\_testuser_jsp.java:63: Class jsp.UserProfile not found. profile= (jsp.UserProfile) ^ ..\ClassCache\https-sgp-web.sci.sing.seagate.com\departments\eis\_jsps\_testuser_jsp.java:68: Class jsp.UserProfile not found. profile = (jsp.UserProfile) Beans.instantiate(this.getClass().getClassLoader(), "jsp.UserProfile"); ^ 3 errors, 1 warning

Oracle Community | 807567 | 1 decade ago
  1. 0

    Unable to get java bean working

    Oracle Community | 1 decade ago | 807567
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. ..\ClassCache\https-sgp-web.sci.sing.seagate.com\departments\eis\_jsps\_testuser_jsp.java:60: Class jsp.UserProfile not found. jsp.UserProfile profile = null; ^ ..\ClassCache\https-sgp-web.sci.sing.seagate.com\departments\eis\_jsps\_testuser_jsp.java:63: Class jsp.UserProfile not found. profile= (jsp.UserProfile) ^ ..\ClassCache\https-sgp-web.sci.sing.seagate.com\departments\eis\_jsps\_testuser_jsp.java:68: Class jsp.UserProfile not found. profile = (jsp.UserProfile) Beans.instantiate(this.getClass().getClassLoader(), "jsp.UserProfile"); ^ 3 errors, 1 warning
  2. 0

    Error compiling JSP on tomcat8 and java8

    Stack Overflow | 2 years ago | user1247412
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [768] in the generated java file: [/opt/tomcat/book_store/work/Catalina/localhost/bookStore/org/apache/jsp/WEB_002dINF/jsp/select_005fparameters_jsp.java] bookData cannot be resolved to a variable Stacktrace:
  3. 0

    JSP compilation on Android (Jetty embedded) - android pressing answers

    pressinganswer.com | 1 year ago
    org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP PWC6199: Generated servlet error: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files PWC6199: Generated servlet error: The type java.lang.Throwable cannot be resolved. It is indirectly referenced from required .class files PWC6199: Generated servlet error: The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files PWC6199: Generated servlet error: org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type PWC6199: Generated servlet error: org.apache.jasper.runtime.JspSourceDependent cannot be resolved to a type PWC6199: Generated servlet error: JspFactory cannot be resolved to a type PWC6199: Generated servlet error: JspFactory cannot be resolved PWC6199: Generated servlet error: java.util.List cannot be resolved to a type PWC6199: Generated servlet error: Syntax error, parameterized types are only available if source level is 1.5 or greater PWC6199: Generated servlet error: String cannot be resolved to a type PWC6199: Generated servlet error: org.glassfish.jsp.api.ResourceInjector cannot be resolved to a type PWC6199: Generated servlet error: java.util.List cannot be resolved to a type PWC6199: Generated servlet error: Syntax error, parameterized types are only available if source level is 1.5 or greater PWC6199: Generated servlet error: String cannot be resolved to a type PWC6199: Generated servlet error: _jspx_dependants cannot be resolved to a variable PWC6199: Generated servlet error: HttpServletRequest cannot be resolved to a type PWC6199: Generated servlet error: HttpServletResponse cannot be resolved to a type PWC6199: Generated servlet error: java.io.IOException cannot be resolved to a type PWC6199: Generated servlet error: ServletException cannot be resolved to a type PWC6199: Generated servlet error: PageContext cannot be resolved to a type PWC6199: Generated servlet error: HttpSession cannot be resolved to a type PWC6199: Generated servlet error: ServletContext cannot be resolved to a type PWC6199: Generated servlet error: ServletConfig cannot be resolved to a type PWC6199: Generated servlet error: JspWriter cannot be resolved to a type PWC6199: Generated servlet error: Object cannot be resolved to a type PWC6199: Generated servlet error: JspWriter cannot be resolved to a type PWC6199: Generated servlet error: PageContext cannot be resolved to a type PWC6199: Generated servlet error: _jspxFactory cannot be resolved PWC6199: Generated servlet error: _jspx_resourceInjector cannot be resolved to a variable PWC6199: Generated servlet error: org.glassfish.jsp.api.ResourceInjector cannot be resolved to a type PWC6197: An error occurred at line: 3 in the jsp file: /time.jsp PWC6199: Generated servlet error: java.util.Date cannot be resolved to a type PWC6199: Generated servlet error: Throwable cannot be resolved to a type PWC6199: Generated servlet error: SkipPageException cannot be resolved to a type PWC6199: Generated servlet error: ServletException cannot be resolved to a type PWC6199: Generated servlet error: _jspxFactory cannot be resolved
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems with admin - Broadleaf Commerce Discussion Forums

    broadleafcommerce.org | 1 year ago
    org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
  6. 0

    Can't make my spring boot application work with jsp

    Stack Overflow | 5 months ago | IngeniousTom
    org.apache.jasper.JasperException: java.lang.IllegalStateException: No Java compiler available

  1. treefolk 1 times, last 1 week ago
  2. Andreas Häber 1 times, last 1 month ago
  3. Justin 2 times, last 4 months ago
  4. abrazeneb 4 times, last 5 months ago
  5. andyglick 12 times, last 3 months ago
1 more registered users
71 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.jasper.JasperException

    Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. ..\ClassCache\https-sgp-web.sci.sing.seagate.com\departments\eis\_jsps\_testuser_jsp.java:60: Class jsp.UserProfile not found. jsp.UserProfile profile = null; ^ ..\ClassCache\https-sgp-web.sci.sing.seagate.com\departments\eis\_jsps\_testuser_jsp.java:63: Class jsp.UserProfile not found. profile= (jsp.UserProfile) ^ ..\ClassCache\https-sgp-web.sci.sing.seagate.com\departments\eis\_jsps\_testuser_jsp.java:68: Class jsp.UserProfile not found. profile = (jsp.UserProfile) Beans.instantiate(this.getClass().getClassLoader(), "jsp.UserProfile"); ^ 3 errors, 1 warning

    at org.apache.jasper.compiler.Compiler.compile()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
    2. org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:193)
    3. org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$4(JspServlet.java:167)
    4. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:477)
    5. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
    5 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    1 frame
  4. com.iplanet.server
    NSServletRunner.ServiceWebApp
    1. com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
    2. com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
    3. com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)
    3 frames