Hello.
I'm working with STS 2.6.1 and Spring security 3.1.0 RC2
Here my spring security config:
In the line <security:http> above, STS writes the error "Configuration problem: spring-security-web classes are not available. You need these to use <http>".Code:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:flex="http://www.springframework.org/schema/flex" xmlns:security="http://www.springframework.org/schema/security" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/flex http://www.springframework.org/schema/flex/spring-flex-1.0.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd"> <security:global-method-security secured-annotations="enabled" jsr250-annotations="enabled" /> <security:http entry-point-ref="preAuthenticatedEntryPoint"> <security:anonymous enabled="false" /> </security:http> <bean id="preAuthenticatedEntryPoint" class="org.springframework.security.web.authentication.Http403ForbiddenEntryPoint" /> <security:authentication-manager> <security:authentication-provider> <security:user-service> <security:user name="dd" authorities="ROLE_USER" /> </security:user-service> </security:authentication-provider> </security:authentication-manager> </beans>
I'm sure all the spring security jar libraries are available (all the other XML security tags work fine) and located in WEB-INF/lib directory. Refresh project, clean project already done. Could you please help me?
Thank you
Pbesi


Reply With Quote