org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 1 in the generated java file The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files An error occurred at line: 32 in the jsp file: /WEB-INF/jsp/template.jsp The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files 29: request.setAttribute(“pageUrlMinusQueryString”, pageUrlMinusQuery); 30: char delim = ‘?’; 31: if(request.getQueryString()!=null) { 32: pageUrl.append(“?” + request.getQueryString()); 33: delim='&’; 34: } 35: request.setAttribute(“pageUrl”,pageUrl.toString()); Stacktrace:

internet2.edu | 3 months ago
  1. 0

    grouper-users - Re: [grouper-users] 2.3 install issue - arc

    internet2.edu | 3 months ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 1 in the generated java file The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files An error occurred at line: 32 in the jsp file: /WEB-INF/jsp/template.jsp The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files 29: request.setAttribute(“pageUrlMinusQueryString”, pageUrlMinusQuery); 30: char delim = ‘?’; 31: if(request.getQueryString()!=null) { 32: pageUrl.append(“?” + request.getQueryString()); 33: delim='&’; 34: } 35: request.setAttribute(“pageUrl”,pageUrl.toString()); Stacktrace:
  2. 0

    Bug 16688 – JSP's not compiling - javac: invalid flag: C:\Java\jars\Tomcat

    apache.org | 2 years ago
    org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting.
  3. 0

    Problems trying ControlTier for the first time

    Google Groups | 10 years ago | vmi...@gmail.com
    org.apache.jasper.JasperException: 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Xplanner:- Error on click of People link

    xplanner | 6 years ago | ajinkyad
    org.apache.jasper.JasperException: jsp:getProperty for bean with name 'person'. Name was not previously introduced as per JSP.5.3
  6. 0

    Error - Team Timesheet

    xplanner | 1 decade ago | pprabhakar
    org.apache.jasper.JasperException

  1. Justin 2 times, last 4 months ago
  2. treefolk 1 times, last 1 week ago
  3. Andreas Häber 1 times, last 1 month 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 JSP: An error occurred at line: 1 in the generated java file The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files An error occurred at line: 32 in the jsp file: /WEB-INF/jsp/template.jsp The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files 29: request.setAttribute(“pageUrlMinusQueryString”, pageUrlMinusQuery); 30: char delim = ‘?’; 31: if(request.getQueryString()!=null) { 32: pageUrl.append(“?” + request.getQueryString()); 33: delim='&’; 34: } 35: request.setAttribute(“pageUrl”,pageUrl.toString()); Stacktrace:

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
    2. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
    3. org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
    4. org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
    5. org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
    6. org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
    7. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
    8. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
    9. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    10. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    10 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  4. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    6 frames
  5. struts
    ActionServlet.doGet
    1. org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1074)
    2. org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:276)
    3. org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:252)
    4. org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:315)
    5. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:246)
    6. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
    7. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
    7 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames
  7. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    6 frames
  8. edu.internet2.middleware
    GrouperUiFilter.doFilter
    1. edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:1042)
    1 frame
  9. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    9 frames
  10. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    3 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame