SpringSecurity 3.x,요소'http'및[를 찾 을 수 없습니다.http://www.springframework.org/schema/security]
1916 단어 httpSecuritySpringSecurity
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
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
빠른 팁: SingleStoreDB의 데이터 API 사용SingleStoreDB는 HTTP 연결을 통해 SQL 문을 실행하는 데 사용할 수 있는 을 제공합니다. 이 짧은 문서에서는 이 데이터 API를 사용하는 방법에 대한 예를 보여줍니다. A는 무료 SingleStore...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.