当我尝试使用maven构建我的项目时,我收到此错误消息。
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'authentication-manager'.
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'global-method-security'.
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'http'.
我正在使用Spring framework 3.0.2
答案 0 :(得分:0)
添加
xmlns="http://www.springframework.org/schema/security"
xsi:schemaLocation="http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd"
到您的xml配置