Hi all,
I have recently downloaded and installed the SpringSource Tool suite.
We have configured our project to use the latest version of Spring Security version 3.0.1.
However we are getting a slight error in our config:
In the security file we have the following namespace defintions:
And the offending bean is:Code:<beans:beans xmlns="http://www.springframework.org/schema/security" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd">
But we get the following error:Code:<beans:bean id="filterSecurityInterceptor" class="org.springframework.security.web.access.intercept.FilterSecurityInterceptor"> <beans:property name="authenticationManager" ref="authenticationManager" /> <beans:property name="accessDecisionManager" ref="accessDecisionManager" /> <beans:property name="securityMetadataSource"> <filter-security-metadata-source> <intercept-url pattern="/admin/**" access="ROLE_ADMIN" /> <intercept-url pattern="/rest/**" access="ROLE_WRITE_ACCESS" /> <intercept-url pattern="/**" access="ROLE_WRITE_ACCESS,ROLE_READ_ACCESS,ROLE_ADMIN" /> </filter-security-metadata-source> </beans:property> </beans:bean>
Cannot locate BeanDefinitionParser for element filter-security-metadata-source.
The web application runs OK and everything seems to work as normal but we just have that unusual compile error?
Is this something incorrect with our setup or a small error with STS?
Many thanks all,
Eggsy


Reply With Quote
