전자정부표준프레임워크

[전자정부 표준프레임워크] No bean named 'springSecurityFilterChain' is defined 해결방법

무한열정 2019. 1. 7. 17:10

전자정부 표준프레임워크의

공통컴포넌트 수정중 다음과 같은 메시지가 나올수 있다.

No bean named 'springSecurityFilterChain' available


1월 07, 2019 5:06:16 오후 org.apache.catalina.core.StandardContext filterStart

심각: Exception starting filter springSecurityFilterChain

org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'springSecurityFilterChain' available

at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:687)

at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1213)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1086)

at org.springframework.web.filter.DelegatingFilterProxy.initDelegate(DelegatingFilterProxy.java:327)

at org.springframework.web.filter.DelegatingFilterProxy.initFilterBean(DelegatingFilterProxy.java:235)

at org.springframework.web.filter.GenericFilterBean.init(GenericFilterBean.java:236)

at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:109)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4574)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5193)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)


우선 다음글을 참고한다.

http://zzznara2.tistory.com/230


그래도 않되면 다음 파일이 누락되었는지 확인한다.

src/main/resources/egovframework/spring/com/context-security.xml


전자정부 시큐리티 간소화에대한 빈 설정파일이

누락되어 발생할수도 있다.