cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'http'.
Here is my XML profile:
<?xml version="1.0" encoding="UTF-8"?>
<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/schem...-beans-2.5.xsd
http://www.springframework.org/schema/security/
http://www.springframework.org/schema/security/spring-security-2.0.4.xsd">
<http auto-config="true" access-denied-page="/accessDenied.jsp">
<intercept-url pattern="/login.jsp" filters="none" />
<intercept-url pattern="/jsp/forgotpassword.jsp"
filters="none" />
<form-login login-page="/login.jsp"
authentication-failure-url="/login.jsp?error=true"
default-target-url="/index.jsp" />
</http>
<beans:bean id="myFilter"
class="com.neu.pms.security.MyFilterSecurityInterc eptor">
<custom-filter before="FILTER_SECURITY_INTERCEPTOR" />
<beansroperty name="authenticationManager" ref="authenticationManager" />
<beansroperty name="accessDecisionManager" ref="myAccessDecisionManager" />
<beansroperty name="objectDefinitionSource" ref="myObjectDefinitionSource" />
</beans:bean>
<authentication-manager alias="authenticationManager" />
<authentication-provider user-service-ref="userDetailsManager">
<password-encoder ref="passwordEncoder">
<salt-source user-property="username" />
</password-encoder>
</authentication-provider>
<beans:bean id="myAccessDecisionManager"
class="com.neu.pms.security.AccessDecisionManagerI mpl">
</beans:bean>
<beans:bean id="myObjectDefinitionSource"
class="com.neu.pms.security.web.FilterInvocationDe finitionSourceImpl">
</beans:bean>
</beans:beans>
1.jpg
My ide is MyEclipse8.0GA.
Could anyone help me ??? Very thanks.


roperty name="authenticationManager" ref="authenticationManager" />
Reply With Quote
