SpringSecurity 3.x,요소'http'및[를 찾 을 수 없습니다.http://www.springframework.org/schema/security]

springsecurity 설정 파일 을 설정 한 후 다음 과 같은 오류 가 발생 했 습 니 다.
 cvc-complex-type.2.4.c:어댑터 의 일치 가 전면적 이지 만 요소'http'의 성명 을 찾 을 수 없습니다.
  사실 저 는 그 네 임 스페이스 namespace 를 모두 포함 시 켰 습 니 다.아니면 이 문제 가 발생 할 수 있 습 니까?그 후에 http 노드 에 속성 access-deny 등 을 추가 하면 이 문제 가 발생 하지 않 았 습 니 다.그 다음 에 실행 하면 이것 이 발생 합 니 다.
   Spring - Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security]
   가방 에 의존 하 는 단점 이 있 었 군요.<dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-config</artifactId> <version>3.0.1.RELEASE</version> </dependency>
다시 실행,OK.
참고:
http://stackoverflow.com/questions/2161050/spring-3-0-unable-to-locate-spring-namespacehandler-for-xml-schema-namespace

좋은 웹페이지 즐겨찾기