org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP PWC6197: An error occurred at line: 7 in the jsp file: /testError.jsp PWC6199: Generated servlet error: The method parse(String) is undefined for the type Long at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:94) at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:384) at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:409) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:622) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:602) at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:618) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:440) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:335) at javax.servlet.http.HttpServlet.service(HttpServlet .java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:356) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:627) at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:149) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:141)

Spring JIRA | Stefan Groschupf | 10 years ago
  1. 0

    We notice that exceptions happen when rendering the view from a jsp page in jetty can not be handled with a custom error page: We defined a SimpleMappingExceptionResolver and it is working great for every exception thrown in our controllers. However in case we have a error (e.g. JasperException)in one of our view jsp pages jetty shows the jetty 500 error page. E.g. a compile error in the jps page or having a Long.parse("string") To show a senseful error page in that case as well we configured a <error-page> within our web.xml. However this is ignored for all jsp pages we use as view within the InternalResourceView but works for all jsp pages that are handled as "normal"/"standalone" jsps by jetty before the dispatcher servlet. Exception in case the error page is ignored: PWC6197: An error occurred at line: 16 in the jsp file: /WEB-INF/jsp/projects/project_listing.jsp PWC6199: Generated servlet error: Invalid character constant at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:94) at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:384) at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:409) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:622) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:602) at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:618) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:440) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:335) at javax.servlet.http.HttpServlet.service(HttpServlet .java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:356) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:627) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispa tcher.java:266) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispa tcher.java:126) at org.springframework.web.servlet.view.InternalResou rceView.renderMergedOutputModel(InternalResourceVi ew.java:112) at org.springframework.web.servlet.view.AbstractView. render(AbstractView.java:249) at org.springframework.web.servlet.DispatcherServlet. render(DispatcherServlet.java:1063) at org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:827) at org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:736) at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:396) at org.springframework.web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:350) at javax.servlet.http.HttpServlet.service(HttpServlet .java:689) at javax.servlet.http.HttpServlet.service(HttpServlet .java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1050) at net.101tec.hub.webapp.HibernateFilter.doFilter(Hib ernateFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1041) at net.101tec.hub.webapp.InstallationFilter.doFilter( InstallationFilter.java:49) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1041) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:354) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:627) at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:149) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:141) at org.mortbay.jetty.Server.handle(Server.java:269) at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:430) at org.mortbay.jetty.HttpConnection$RequestHandler.he aderComplete(HttpConnection.java:687) at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:492) at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:199) at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:339) at org.mortbay.jetty.nio.HttpChannelEndPoint.run(Http ChannelEndPoint.java:270) at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:475) Exception in case the error page is shown: org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP PWC6197: An error occurred at line: 7 in the jsp file: /testError.jsp PWC6199: Generated servlet error: The method parse(String) is undefined for the type Long at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:94) at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:384) at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:409) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:622) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:602) at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:618) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:440) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:335) at javax.servlet.http.HttpServlet.service(HttpServlet .java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:356) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:627) at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:149) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:141) at org.mortbay.jetty.Server.handle(Server.java:269) at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:430) at org.mortbay.jetty.HttpConnection$RequestHandler.he aderComplete(HttpConnection.java:687) at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:492) at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:199) at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:339) at org.mortbay.jetty.nio.HttpChannelEndPoint.run(Http ChannelEndPoint.java:270) at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:475) 2007-04-20 15:35:17.734::WARN: /testError.jsp org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP

    Spring JIRA | 10 years ago | Stefan Groschupf
    org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP PWC6197: An error occurred at line: 7 in the jsp file: /testError.jsp PWC6199: Generated servlet error: The method parse(String) is undefined for the type Long at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:94) at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:384) at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:409) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:622) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:602) at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:618) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:440) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:335) at javax.servlet.http.HttpServlet.service(HttpServlet .java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:356) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:627) at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:149) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:141)
  2. 0

    We notice that exceptions happen when rendering the view from a jsp page in jetty can not be handled with a custom error page: We defined a SimpleMappingExceptionResolver and it is working great for every exception thrown in our controllers. However in case we have a error (e.g. JasperException)in one of our view jsp pages jetty shows the jetty 500 error page. E.g. a compile error in the jps page or having a Long.parse("string") To show a senseful error page in that case as well we configured a <error-page> within our web.xml. However this is ignored for all jsp pages we use as view within the InternalResourceView but works for all jsp pages that are handled as "normal"/"standalone" jsps by jetty before the dispatcher servlet. Exception in case the error page is ignored: PWC6197: An error occurred at line: 16 in the jsp file: /WEB-INF/jsp/projects/project_listing.jsp PWC6199: Generated servlet error: Invalid character constant at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:94) at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:384) at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:409) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:622) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:602) at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:618) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:440) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:335) at javax.servlet.http.HttpServlet.service(HttpServlet .java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:356) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:627) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispa tcher.java:266) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispa tcher.java:126) at org.springframework.web.servlet.view.InternalResou rceView.renderMergedOutputModel(InternalResourceVi ew.java:112) at org.springframework.web.servlet.view.AbstractView. render(AbstractView.java:249) at org.springframework.web.servlet.DispatcherServlet. render(DispatcherServlet.java:1063) at org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:827) at org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:736) at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:396) at org.springframework.web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:350) at javax.servlet.http.HttpServlet.service(HttpServlet .java:689) at javax.servlet.http.HttpServlet.service(HttpServlet .java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1050) at net.101tec.hub.webapp.HibernateFilter.doFilter(Hib ernateFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1041) at net.101tec.hub.webapp.InstallationFilter.doFilter( InstallationFilter.java:49) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1041) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:354) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:627) at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:149) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:141) at org.mortbay.jetty.Server.handle(Server.java:269) at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:430) at org.mortbay.jetty.HttpConnection$RequestHandler.he aderComplete(HttpConnection.java:687) at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:492) at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:199) at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:339) at org.mortbay.jetty.nio.HttpChannelEndPoint.run(Http ChannelEndPoint.java:270) at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:475) Exception in case the error page is shown: org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP PWC6197: An error occurred at line: 7 in the jsp file: /testError.jsp PWC6199: Generated servlet error: The method parse(String) is undefined for the type Long at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:94) at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:384) at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:409) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:622) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:602) at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:618) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:440) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:335) at javax.servlet.http.HttpServlet.service(HttpServlet .java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:356) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:627) at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:149) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:141) at org.mortbay.jetty.Server.handle(Server.java:269) at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:430) at org.mortbay.jetty.HttpConnection$RequestHandler.he aderComplete(HttpConnection.java:687) at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:492) at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:199) at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:339) at org.mortbay.jetty.nio.HttpChannelEndPoint.run(Http ChannelEndPoint.java:270) at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:475) 2007-04-20 15:35:17.734::WARN: /testError.jsp org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP

    Spring JIRA | 10 years ago | Stefan Groschupf
    org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP PWC6197: An error occurred at line: 7 in the jsp file: /testError.jsp PWC6199: Generated servlet error: The method parse(String) is undefined for the type Long at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:94) at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:384) at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:409) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:622) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:602) at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:618) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:440) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:335) at javax.servlet.http.HttpServlet.service(HttpServlet .java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:356) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:627) at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:149) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:141)
  3. 0

    java.sql.SQLException: Column 'dccyn' not found.

    java-forums.org | 8 months ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 13 in the jsp file: /admin/system/keb_Modify.jsp The method getList(String[]) in the type KEBLimitDBWrap is not applicable for the arguments (String[], String) 10: String modType = request.getParameter("modType"); 11: String[] merchantNo = request.getParameterValues("chkBox"); 12: 13: ArrayList<KEBLimitEntity> entityList = limitDB.getList(merchantNo,"mod"); 14: 15: Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:95) at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:457) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:374) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:352) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:339) at org.apache.jasper.JspCompilationContext.compile( pCompilationContext.java:594) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:344) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:391) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet .java:722) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:402) at org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:329) at com.eximbay.InvokerServlet.doPost(InvokerServlet.j ava:64) at javax.servlet.http.HttpServlet.service(HttpServlet .java:641) at javax.servlet.http.HttpServlet.service(HttpServlet .java:722) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:164) at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:462) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:395) at org.apache.coyote.ajp.AjpProcessor.process(AjpProc essor.java:301) at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHan dler.process(AjpProtocol.java:183) at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHan dler.process(AjpProtocol.java:169) at org.apache.tomcat.util.net.JIoEndpoint$SocketProce ssor.run(JIoEndpoint.java:302) at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to compile class for JSP - Toolbox for IT Groups

    ittoolbox.com | 1 year ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 336 in the jsp file: /pages/vendorservice/vendor_list.jsp org.apache cannot be resolved or is not a field 333: <table border=2 cellspacing=3 cellpadding=3> 334: <tlt:iteration name="v" type="VendorServiceDTO" group="<%=vendorServices%>"> 335: <tr> 336: <td><a><jsp:getProperty name="v" property="vendorName"/></a>< /td> 337: </tr> 338: </tlt:iteration> 339: </table> An error occurred at line: 336 in the jsp file: /pages/vendorservice/vendor_list.jsp org.apache cannot be resolved or is not a field 333: <table border=2 cellspacing=3 cellpadding=3> 334: <tlt:iteration name="v" type="VendorServiceDTO" group="<%=vendorServices%>"> 335: <tr> 336: <td><a><jsp:getProperty name="v" property="vendorName"/></a>< /td> 337: </tr> 338: </tlt:iteration> 339: </table> Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:92) at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:439) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:349) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:327) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:314) at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:592) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:317) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet .java:717) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:646) at org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:302) at com.smartsocieties.controller.SSController.forward (SSController.java:177) at com.smartsocieties.controller.SSController.process Request(SSController.java:148) at com.smartsocieties.controller.SSController.doGet(S SController.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet .java:617) at javax.servlet.http.HttpServlet.service(HttpServlet .java:717) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at com.smartsocieties.common.interceptor.SSIntercepto r.doFilter(SSInterceptor.java:75) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:588) at .JIoEndpoint$Worker.run(JIoEndpoint.java:489 )
  6. 0

    org.apache.jasper.JasperException: Unable to compile class for JSP

    java-forums.org | 1 year ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:85) at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:435) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:298) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:277) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:265) at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:564) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:299) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:315) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet .java:803) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.doI nclude(ApplicationDispatcher.java:594) at org.apache.catalina.core.ApplicationDispatcher.inc lude(ApplicationDispatcher.java:505) at org.apache.jasper.runtime.JspRuntimeLibrary.includ e(JspRuntimeLibrary.java:965) at org.apache.jsp.vertical_005fmenu_jsp._jspService(v ertical_005fmenu_jsp.java:131) at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet .java:803) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:328) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:315) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet .java:803) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.doI nclude(ApplicationDispatcher.java:594) at org.apache.catalina.core.ApplicationDispatcher.inc lude(ApplicationDispatcher.java:505) at org.apache.jasper.runtime.JspRuntimeLibrary.includ e(JspRuntimeLibrary.java:965) at org.apache.jsp.project_005flist_jsp._jspService(pr oject_005flist_jsp.java:136) at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet .java:803) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:328) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:315) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet .java:803) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:685)

    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

      PWC6033: Unable to compile class for JSP PWC6197: An error occurred at line: 7 in the jsp file: /testError.jsp PWC6199: Generated servlet error: The method parse(String) is undefined for the type Long at org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:94) at org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:384) at org.apache.jasper.compiler.JDTCompiler.generateCla ss(JDTCompiler.java:409) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:622) at org.apache.jasper.compiler.Compiler.compile(Compil er.java:602) at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:618) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:440) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:335) at javax.servlet.http.HttpServlet.service(HttpServlet .java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:356) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:627) at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:149) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:141)

      at org.mortbay.jetty.Server.handle()
    2. Jetty Server
      Server.handle
      1. org.mortbay.jetty.Server.handle(Server.java:269)
      1 frame