본문 바로가기

개발

[SPRING] java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

STS에서 SPRING MVC PROJECT IMPORT 후 서버 실행하면


java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext


와 같은 에러메세지 출력. 


    root-context.xml 위치 수정