I'm getting the same error:
Code:
Unable to locate Spring NamespaceHandler for element 'authentication-provider' of schema namespace 'http://www.springframework.org/schema/security'
and
Code:
Unable to locate Spring NamespaceHandler for element 'http' of schema namespace 'http://www.springframework.org/schema/security'
my context file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<s:beans xmlns="http://www.springframework.org/schema/security" xmlns:s="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.2.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<http auto-config='true'>
<intercept-url pattern="/**" access="ROLE_USER" />
</http>
<authentication-provider>
<user-service>
<user name="jimi" password="jimispassword" authorities="ROLE_USER, ROLE_ADMIN" />
<user name="bob" password="bobspassword" authorities="ROLE_USER" />
</user-service>
</authentication-provider>
</s:beans>

Originally Posted by
raston
I'm also getting these same warnings. Clean install of Eclipse 3.4 for JEE, nightly release of Spring IDE 2.1, clean workspace, new project.
If I create a file with config directly out of the Spring Security manual (spaces added to URLs changed to comply with posting rules):
...
Does nobody have any idea how to solve this?
- rich