Absolute uri: http://www.springsource.org/tags/form cannot be resolved either in the web.xml file or in the jar files deployed with this application

I am currently using the "Maven" project, where I put current dependencies in pom.xml to use the Spring Framework, where org.springframework.version = 3.1.0.RELEASE:

<dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${org.springframework.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${org.springframework.version}</version> </dependency> <!-- Spring MVC framework --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>${org.springframework.version}</version> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-taglibs</artifactId> <version>${org.springframework.version}</version> </dependency> 

All jar dependencies are in target / myGoogleAppEngine-0.0.1-SNAPSHOT / WEB-INF / lib. This directory contains:

 spring-aop-3.1.0.RELEASE.jar spring-beans-3.1.0.RELEASE.jar spring-webmvc-3.1.0.RELEASE.jar spring-web-3.1.0.RELEASE.jar spring-security-taglibs-3.1.0.RELEASE.jar spring-security-web-3.1.0.RELEASE.jar ... 

At the beginning of my .jsp address, I have the following line:

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

But I am executing the following error while executing address.jsp:

 Error 500 org.apache.jasper.JasperException: The absolute uri: http://www.springsource.org/tags/form cannot be resolved in either web.xml or the jar files deployed with this application 
+7
java spring maven jsp
source share
2 answers

Add this dependency to pom.xml

 <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-taglibs</artifactId> <version>Your Security Version</version> </dependency> 
+5
source

If you open spring-webmvc-3.1.0-RELEASE.jar/META-INF/spring-form.tld , then <uri> used

 <uri>http://www.springframework.org/tags/form</uri> 

So you must have

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

All Articles