오류발생 합니다. 도와주세요
- 작성자 :
- 김*현
- 작성일 :
- 2010-02-08 18:01:10
- 조회수 :
- 4,489
- 구분 :
- 공통컴포넌트
- 진행상태 :
- 완료
Q
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'EgovFileMngUtil': Injection of resource fields failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'propertiesService' is defined
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'propertiesService' is defined
주요 요류내용입니다.
springSecurityFilterChain에서 오류가 나서 사용안하려면 주석체크 하라고 해서
주석처리후에 해당오류가 발생합니다.
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'propertiesService' is defined
주요 요류내용입니다.
springSecurityFilterChain에서 오류가 나서 사용안하려면 주석체크 하라고 해서
주석처리후에 해당오류가 발생합니다.
A
안녕하세요.. 김재현님..
해당 오류는 propertiesService bean이 정의되어 있지 않아서 발생한 문제입니다...
/src/main/resources/spring/context-properties.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"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean name="propertiesService" class="egovframework.rte.fdl.property.impl.EgovPropertyServiceImpl" destroy-method="destroy">
<property name="properties">
<map>
<entry key="pageUnit" value="10"/>
<entry key="pageSize" value="10"/>
<entry key="Globals.fileStorePath" value="/product/jeus2/egovProps/upload/"/>
</map>
</property>
</bean>
</beans>
그럼.. 즐거운 하루되십시오.
감사합니다.
해당 오류는 propertiesService bean이 정의되어 있지 않아서 발생한 문제입니다...
/src/main/resources/spring/context-properties.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"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean name="propertiesService" class="egovframework.rte.fdl.property.impl.EgovPropertyServiceImpl" destroy-method="destroy">
<property name="properties">
<map>
<entry key="pageUnit" value="10"/>
<entry key="pageSize" value="10"/>
<entry key="Globals.fileStorePath" value="/product/jeus2/egovProps/upload/"/>
</map>
</property>
</bean>
</beans>
그럼.. 즐거운 하루되십시오.
감사합니다.