Maven reference for springframework.org/tags form per spring source ide?

24,852

Solution 1

I added:

    <dependency>
    <groupId>taglibs</groupId>
    <artifactId>standard</artifactId>
    <version>1.1.2</version>
   </dependency>

To mypom.xml file this will resolved the issue.

Solution 2

Try deleting the spring-mvc dependency, updating the maven project without that dependency and then re-add the spring-mvc dependency. Probably the .jar file is corrupted (as was the case in my project).

Share:
24,852
genxgeek
Author by

genxgeek

20+ years of full-stack development and technical project management delivering global software solutions across manufacturing, consumer products and business analytics.

Updated on July 21, 2022

Comments

  • genxgeek
    genxgeek almost 2 years

    Hi new to java and I'm getting the following errors per the following lines from a .jsp that I have inherited. Using spring source as my editor.

    NOTE: This loads fine per my latest eclipse (kepler) IDE.

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

    Errors:

    Can not find the tag library descriptor for "http://www.springframework.org/tags/ form" Can not find the tag library descriptor for "http://www.springframework.org/ tags"

    I have the following defined in my pom.xml:

    <spring.version>3.2.1.RELEASE</spring.version>
    
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-core</artifactId>
        <version>${spring.version}</version>
    </dependency>
    
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>${spring.version}</version>
    </dependency>