Намучился, что делать незнаю Вот что именно не выходит pom.xmlКод | <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-core</artifactId> <version>3.0.5.RELEASE</version> <type>jar</type> <scope>compile</scope> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-config</artifactId> <version>3.0.5.RELEASE</version> <type>jar</type> <scope>compile</scope> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-web</artifactId> <version>3.0.5.RELEASE</version> <type>jar</type> <scope>compile</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>3.0.5.RELEASE</version> <type>jar</type> <scope>compile</scope> </dependency>
|
spring-security.xmlКод | <?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns="http://www.springframework.org/schema/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:sec="http://www.springframework.org/schema/security" xsi:schemaLocation=" http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.3.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
<http pattern="/resources" security="none" />
|
Получаю Цитата | cvc-complex-type.3.2.2: Attribute 'pattern' is not allowed to appear in element 'http'. spring-security.xml /aaa/src/main/webapp/WEB-INF line 11 XML Problem cvc-complex-type.3.2.2: Attribute 'security' is not allowed to appear in element 'http'. spring-security.xml /aaa/src/main/webapp/WEB-INF line 11 XML Problem
|
А с Код | http://www.springframework.org/schema/security/spring-security-3.1.xsd
|
просит поменять....
|