Results 1 to 2 of 2

Thread: Taglibs no longer exist?

  1. #1
    Join Date
    Sep 2012
    Posts
    1

    Exclamation Taglibs no longer exist?

    I shut down Eclipse, restarted it, started Tomcat within it, and now it take 1 second to start, not 20 and my application page I was editing Monday just throws 404s. No errors in the Tomcat logs and no new INFO/WARNINGS that I can tell. I tried clean builds, clean+full publish, and removing the project and readding it.

    Then I tried going to the root of the publish directory, just http://localhost../project/ and I get this error in the browser:

    Code:
    org.apache.jasper.JasperException: /index.jsp (line: 3, column: 0) The absolute uri: http://www.springframework.org/tags cannot be resolved in either web.xml or the jar files deployed with this application
    Tomcat itself shows this:

    Code:
    SEVERE: Servlet.service() for servlet [jsp] in context with path [/HIT-Portal] threw exception [/index.jsp (line: 3, column: 0) The absolute uri: http://www.springframework.org/tags cannot be resolved in either web.xml or the jar files deployed with this application] with root cause
    org.apache.jasper.JasperException: /index.jsp (line: 3, column: 0) The absolute uri: http://www.springframework.org/tags cannot be resolved in either web.xml or the jar files deployed with this application
    I put the URL in my browser and it forwards to http://www.springsource.org/tags and it says it does not exist. The JSP includes include

    <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

    Everything worked Monday. What happened to your websites? And what should I now be using instead?

    Thanks.

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,695

    Default

    I suggest you start reading on taglibs and namespaces... The URI has nothing to do with a physical resource...

    Also have you read the error message?

    Code:
    The absolute uri: http://www.springframework.org/tags cannot be resolved in either web.xml or the jar files deployed with this application] with root cause
    My guess is that something broke your build and that the spring-webmvc jar isn't in your web archive anymore (or that it is crippled to the least).
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •