-
Jun 22nd, 2012, 11:38 AM
#1
Configuration problem: spring-security-web classes are not available.
I have encountered 2 errors that seems doesn't make any sense:
Configuration problem: spring-security-web classes are not available. You need these to use <filter-chain-map>
Offending resource: file [/home/pc0/Documents/workspace/spring-samples/Spring3MVC/src/main/webapp/WEB-INF/spring-security.xml]
spring-security-web classes are not available. You need these to use <filter-chain-map>
The weird thing is that I already have spring-security-web class in my dependencies:
<!-- Spring Security -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
<version>3.0.5.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>${spring.version}</version>
</dependency>
I have tried mvn clean but nothing changed. Anybody know how to fix it?
-
Jun 25th, 2012, 09:21 PM
#2
What is the value of spring.version? Perhaps you are not using the same version of Spring Security throughout? Can you provide a complete error including stacktrace? When and where are you seeing the error (i.e. in standard error/out when starting the application, in errors view of STS, etc)?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules