본문 바로가기
에러/spring

[Spring] the prefix for element is not bound 에러

by PEKAH 2021. 8. 26.

스프링 세팅 중 component-scan과 aop를 작성하는 도중 발생한 에러이다.

 

 

 

이 경우 beans에 xmlns:context와 xmlns:aop를 추가해주면 해결할 수 있다.

다음과 같이

xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"

"www.springframework.org/schema/context" 를 추가하자

 

 

댓글