【发布时间】:2013-06-13 15:01:36
【问题描述】:
我正在使用 spring_security 和 primefaces 我创建了我的登录文件和 loginBean 并添加了所有必需的库,但我收到了这个错误:
Configuration problem: You must use a 3.0 schema with Spring Security 3.0.(2.0 or 3.1 versions are not valid) Please update your schema declarations to the 3.0.3 schema (spring-security-3.0.3.xsd).
Offending resource: ServletContext resource [/WEB-INF/applicationContext-security.xml]
我查看 faces-config.xml 发现这一行
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee /web-facesconfig_2_0.xsd"
version="2.0"
我想知道这是否是错误的主要原因? 我该如何纠正它?
【问题讨论】:
标签: java jakarta-ee web spring-security