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

Oracle Community | 676927 | 8 years ago
  1. 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
  2. 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 | 10 years 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
  3. 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:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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:
  6. 0

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

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

  1. abrazeneb 4 times, last 5 months ago
  2. treefolk 1 times, last 1 week ago
  3. Andreas Häber 1 times, last 1 month ago
  4. Justin 2 times, last 4 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

    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

    at org.apache.jasper.compiler.DefaultErrorHandler.jspError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
    2. org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
    3. org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
    4. org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)
    5. org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:147)
    6. org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
    7. org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
    8. org.apache.jasper.compiler.Parser.parseElements(Parser.java:1556)
    9. org.apache.jasper.compiler.Parser.parse(Parser.java:126)
    10. org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
    11. org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
    12. org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
    13. org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
    14. org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
    15. org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
    16. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
    17. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
    18. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    19. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    19 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    1 frame
  4. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    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:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    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.security.JaccContextValve.invoke(JaccContextValve.java:74)
    2 frames
  8. Glassfish Core
    ErrorReportValve.invoke
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    2 frames
  9. org.jboss.web
    CachedConnectionValve.invoke
    1. org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
    1 frame
  10. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    2 frames
  11. Grizzly HTTP
    MasterSlaveWorkerThread.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    4. org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    4 frames
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame