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

jboss.org | 7 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

    Jasper Exception when migrating from 4.0.5.CR1 ... | JBoss Developer

    jboss.org | 1 year ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: Stacktrace:
  2. 0

    Jasper Exception when migrating from 4.0.5.CR1 ... | JBoss Developer

    jboss.org | 7 months ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: Stacktrace:
  3. 0

    "JBossESB Service List" console fails - org.apache.jasper.JasperException: Unable to compile class for JSP:

    https://bugzilla.redhat.com/bugzilla/ | 9 years ago | Len DiMaggio
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 17 in the jsp file: /index.jsp ServicePublisher cannot be resolved 14: 15: <div class="pageSection"> 16: <% 17: List publishers = ServicePublisher.getServicePublishers(); 18: Registry registry = RegistryFactory.getRegistry(); 19: 20: for (int i = 0; i < publishers.size(); i++) { An error occurred at line: 18 in the jsp file: /index.jsp Registry cannot be resolved to a type 15: <div class="pageSection"> 16: <% 17: List publishers = ServicePublisher.getServicePublishers(); 18: Registry registry = RegistryFactory.getRegistry(); 19: 20: for (int i = 0; i < publishers.size(); i++) { 21: ServicePublisher publisher = (ServicePublisher) publishers.get(i); An error occurred at line: 18 in the jsp file: /index.jsp RegistryFactory cannot be resolved 15: <div class="pageSection"> 16: <% 17: List publishers = ServicePublisher.getServicePublishers(); 18: Registry registry = RegistryFactory.getRegistry(); 19: 20: for (int i = 0; i < publishers.size(); i++) { 21: ServicePublisher publisher = (ServicePublisher) publishers.get(i); An error occurred at line: 21 in the jsp file: /index.jsp ServicePublisher cannot be resolved to a type 18: Registry registry = RegistryFactory.getRegistry(); 19: 20: for (int i = 0; i < publishers.size(); i++) { 21: ServicePublisher publisher = (ServicePublisher) publishers.get(i); 22: String serviceCategory = publisher.getCategory(); 23: String serviceName = publisher.getServiceName(); 24: List eprs; An error occurred at line: 21 in the jsp file: /index.jsp ServicePublisher cannot be resolved to a type 18: Registry registry = RegistryFactory.getRegistry(); 19: 20: for (int i = 0; i < publishers.size(); i++) { 21: ServicePublisher publisher = (ServicePublisher) publishers.get(i); 22: String serviceCategory = publisher.getCategory(); 23: String serviceName = publisher.getServiceName(); 24: List eprs; An error occurred at line: 40 in the jsp file: /index.jsp EPR cannot be resolved to a type 37: <%=publisher.getDescription()%> 38: <% 39: for (int ii = 0; ii < eprs.size(); ii++) { 40: EPR epr = (EPR) eprs.get(ii); 41: URI eprURI = URI.create(epr.getAddr().getAddress()); 42: String protocol = eprURI.getScheme(); 43: String relContractURI = "contract.jsp?serviceCat=" + serviceCategory + "&serviceName=" + serviceName + "&protocol=" + protocol; An error occurred at line: 40 in the jsp file: /index.jsp EPR cannot be resolved to a type 37: <%=publisher.getDescription()%> 38: <% 39: for (int ii = 0; ii < eprs.size(); ii++) { 40: EPR epr = (EPR) eprs.get(ii); 41: URI eprURI = URI.create(epr.getAddr().getAddress()); 42: String protocol = eprURI.getScheme(); 43: String relContractURI = "contract.jsp?serviceCat=" + serviceCategory + "&serviceName=" + serviceName + "&protocol=" + protocol; Stacktrace:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have an application called sojournerserver. With 0.4.1 of tgrails I perform the "grails war" command which give me a war file. Since there are known issues with log4j conflicts I open the war file and remove this file. I then take the modified .war file and move it to the site - and it does deploy on this particular website with no errors. The application mounts to {host}/sojournerserver If you open this directory you see a directory with sojournerserver in it. This looks like a deployment problem of some sort, but the more important problem is that if you click on the sojournerserver directory that shows up, you will get the following error. 18:31:39,636 WARN [TagLibCache] Internal Error: File /WEB-INF/web.xml not found 18:31:41,738 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: The absolute uri: http://grails.codehaus.org/tags cannot be resolved in either web.xml or the jar files deployed with this application at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114) at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316) at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:147) at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423) at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492) at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1556) at org.apache.jasper.compiler.Parser.parse(Parser.java:126) at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)

    Grails JIRA | 1 decade ago | Gregory Pierce
    org.apache.jasper.JasperException: The absolute uri: http://grails.codehaus.org/tags cannot be resolved in either web.xml or the jar files deployed with this application
  6. 0

    Deployment

    Oracle Community | 8 years ago | 676927
    org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved in either web.xml or the jar files deployed with this a cation
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: Stacktrace:

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
    2. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
    3. org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
    4. org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
    5. org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
    6. org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
    7. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
    8. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
    9. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    10. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    10 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    1 frame
  4. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  5. JBoss Application Server Tomcat
    ReplyHeaderFilter.doFilter
    1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    1 frame
  6. Glassfish Core
    StandardContextValve.invoke
    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:228)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    4 frames
  7. JBoss Application Server Tomcat
    JaccContextValve.invoke
    1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
    2. org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:87)
    3. org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
    4. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    4 frames
  8. Glassfish Core
    ErrorReportValve.invoke
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    2 frames
  9. JBoss Application Server Tomcat
    CachedConnectionValve.invoke
    1. org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
    1 frame
  10. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
    2 frames
  11. org.apache.coyote
    AjpProtocol$AjpConnectionHandler.process
    1. org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
    2. org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:447)
    2 frames
  12. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
    1 frame
  13. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame