java.io.IOException: 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 Stacktrace:

GitHub | thomas1114 | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to compile class for JSP

    GitHub | 9 months ago | thomas1114
    java.io.IOException: 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 Stacktrace:
  2. 0

    Google App Engine - Java 8 and JSP Files: compilation error

    Stack Overflow | 9 months ago | Deviling Master
    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 Stacktrace:
  3. 0

    Problem switching to 1.4.0 - JSP compilation fails

    Google Groups | 6 years ago | l.denardo
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 1 in the generated java file The type javax.servlet.jsp.PageContext cannot be resolved. It is indirectly referenced from required .class files An error occurred at line: 1 in the generated java file The type javax.servlet.jsp.tagext.TagSupport cannot be resolved. It is indirectly referenced from required .class files [more similar entries follow] An error occurred at line: 1,079 in the generated java file javax.servlet.jsp.tagext.JspTag cannot be resolved to a type Stacktrace:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    1.4 eclipse plugin

    Google Groups | 6 years ago | Matt Farnell
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 9 in the generated java file org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type An error occurred at line: 10 in the generated java file org.apache.jasper.runtime.JspSourceDependent cannot be resolved to a type An error occurred at line: 12 in the generated java file JspFactory cannot be resolved to a type An error occurred at line: 12 in the generated java file JspFactory cannot be resolved An error occurred at line: 23 in the generated java file javax.el.ExpressionFactory cannot be resolved to a type An error occurred at line: 24 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 31 in the generated java file _el_expressionfactory cannot be resolved An error occurred at line: 31 in the generated java file _jspxFactory cannot be resolved An error occurred at line: 31 in the generated java file The method getServletConfig() is undefined for the type plans_jsp An error occurred at line: 32 in the generated java file _jsp_annotationprocessor cannot be resolved An error occurred at line: 32 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 32 in the generated java file The method getServletConfig() is undefined for the type plans_jsp An error occurred at line: 32 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 38 in the generated java file HttpServletRequest cannot be resolved to a type An error occurred at line: 38 in the generated java file HttpServletResponse cannot be resolved to a type An error occurred at line: 39 in the generated java file ServletException cannot be resolved to a type An error occurred at line: 41 in the generated java file PageContext cannot be resolved to a type An error occurred at line: 42 in the generated java file HttpSession cannot be resolved to a type An error occurred at line: 43 in the generated java file ServletContext cannot be resolved to a type An error occurred at line: 44 in the generated java file ServletConfig cannot be resolved to a type An error occurred at line: 45 in the generated java file JspWriter cannot be resolved to a type An error occurred at line: 47 in the generated java file JspWriter cannot be resolved to a type An error occurred at line: 48 in the generated java file PageContext cannot be resolved to a type An error occurred at line: 53 in the generated java file _jspxFactory cannot be resolved An error occurred at line: 1,315 in the generated java file SkipPageException cannot be resolved to a type An error occurred at line: 1,322 in the generated java file _jspxFactory cannot be resolved Stacktrace:
  6. 0

    Regarding Error in Jsp Code

    Google Groups | 8 years ago | anu
    org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp\Jetty_127_0_0_1_8087_war____-iudaqf\jsp\org\apache\jsp\ex_jsp.java:9: cannot find symbol [javac] symbol : class query [javac] location: package javax.jdo [javac] import javax.jdo.query; [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp\Jetty_127_0_0_1_8087_war____-iudaqf\jsp\org\apache\jsp\ex_jsp.java:116: cannot find symbol [javac] symbol : class Query [javac] location: class org.apache.jsp.ex_jsp [javac] Query query=pm.newQuery("SELECT * FROM" +exeEntry.class.getName()); [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp\Jetty_127_0_0_1_8087_war____-iudaqf\jsp\org\apache\jsp\ex_jsp.java:144: cannot find symbol [javac] symbol : method getContent() [javac] location: class exe.exeEntry [javac] out.print(e.getContent()); [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp\Jetty_127_0_0_1_8087_war____-iudaqf\jsp\org\apache\jsp\ex_jsp.java:147: cannot find symbol [javac] symbol : method getPoster() [javac] location: class exe.exeEntry [javac] out.print(e.getPoster()); [javac] ^ Generated servlet error: [javac] Note: C:\Users\DEVELO~1.ADM\AppData\Local\Temp\Jetty_127_0_0_1_8087_war____-iudaqf\jsp\org\apache\jsp\ex_jsp.java uses unchecked or unsafe operations. Generated servlet error: [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 errors
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 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:349)
    5. org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
    6. org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
    7. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
    8. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
    9. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    10. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    10 frames
  3. AppEngine Testing
    PrivilegedJspServlet$2.run
    1. com.google.appengine.tools.development.PrivilegedJspServlet.access$101(PrivilegedJspServlet.java:23)
    2. com.google.appengine.tools.development.PrivilegedJspServlet$2.run(PrivilegedJspServlet.java:61)
    2 frames
  4. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  5. AppEngine Testing
    PrivilegedJspServlet.service
    1. com.google.appengine.tools.development.PrivilegedJspServlet.service(PrivilegedJspServlet.java:58)
    1 frame
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  7. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
    2 frames
  8. com.google.appengine
    ServeBlobFilter.doFilter
    1. com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:63)
    1 frame
  9. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  10. AppEngine Testing
    DevAppServerModulesFilter.doFilter
    1. com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectRequest(DevAppServerModulesFilter.java:366)
    2. com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectModuleRequest(DevAppServerModulesFilter.java:349)
    3. com.google.appengine.tools.development.DevAppServerModulesFilter.doFilter(DevAppServerModulesFilter.java:116)
    3 frames
  11. Jetty Server
    WebAppContext.handle
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
    6 frames
  12. AppEngine Testing
    DevAppEngineWebAppContext.handle
    1. com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:98)
    1 frame
  13. Jetty Server
    Dispatcher.forward
    1. org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
    2. org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
    2 frames
  14. com.google.appinventor
    LoginServlet.doGet
    1. com.google.appinventor.server.LoginServlet.doGet(LoginServlet.java:194)
    1 frame
  15. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames
  16. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
    2 frames
  17. Google AppEngine
    AppstatsFilter.doFilter
    1. com.google.appengine.tools.appstats.AppstatsFilter.doFilter(AppstatsFilter.java:142)
    1 frame
  18. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  19. com.google.appengine
    DevSocketFilter.doFilter
    1. com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)
    1 frame
  20. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  21. AppEngine Testing
    ResponseRewriterFilter.doFilter
    1. com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:128)
    1 frame
  22. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  23. AppEngine Testing
    HeaderVerificationFilter.doFilter
    1. com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)
    1 frame
  24. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  25. com.google.appengine
    ServeBlobFilter.doFilter
    1. com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:63)
    1 frame
  26. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  27. Google AppEngine
    TransactionCleanupFilter.doFilter
    1. com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
    1 frame
  28. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  29. AppEngine Testing
    StaticFileFilter.doFilter
    1. com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:125)
    1 frame
  30. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  31. AppEngine Testing
    DevAppServerModulesFilter.doFilter
    1. com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectRequest(DevAppServerModulesFilter.java:366)
    2. com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectModuleRequest(DevAppServerModulesFilter.java:349)
    3. com.google.appengine.tools.development.DevAppServerModulesFilter.doFilter(DevAppServerModulesFilter.java:116)
    3 frames
  32. Jetty Server
    WebAppContext.handle
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
    6 frames
  33. AppEngine Testing
    DevAppEngineWebAppContext.handle
    1. com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:98)
    1 frame
  34. Jetty Server
    HandlerWrapper.handle
    1. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    1 frame
  35. AppEngine Testing
    JettyContainerService$ApiProxyHandler.handle
    1. com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:511)
    1 frame
  36. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    2. org.mortbay.jetty.Server.handle(Server.java:326)
    3. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
    4. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
    5. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
    6. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    7. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    8. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    8 frames
  37. Jetty Util
    QueuedThreadPool$PoolThread.run
    1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
    1 frame