Results 1 to 2 of 2

Thread: Configuration problem: spring-security-web classes are not available.

  1. #1
    Join Date
    Jun 2012
    Posts
    4

    Default 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?

  2. #2
    Join Date
    Jan 2008
    Posts
    1,833

    Default

    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)?
    Rob Winch
    Twitter @rob_winch
    Spring Security Lead
    Spring by Pivotal

Posting Permissions

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