-
security 네임스페이스 붙이기 싫을때개발 2015. 1. 27. 16:07반응형
일반적인 bean 정의 xml 파일
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:security="http://www.springframework.org/schema/security"
xsi:schemaLocation="http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd">
<security:http>
</security:http>
</beans>
아래와 같이 변경하면 된다.
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/security"
xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd">
<http>
</http>
</beans:beans>
반응형'개발' 카테고리의 다른 글
[unix/linux] 특정 이름을 가지는 파일 혹은 디렉토리 삭제하기 (0) 2015.02.02 springframework + commons-configuration + jasypt 사용 예 (1) 2015.01.31 auto-config="true"가 하는일은? (0) 2015.01.27 [Jackson] 관계를 갖는 객체 변환 에러 (0) 2015.01.25 [JPA 2.0] MayToMany 설정하기 (0) 2015.01.25