메뉴 건너띄기
상단메뉴 바로가기
본문 바로가기

이 누리집은 대한민국 공식 전자정부 누리집입니다.

본문 영역

적용 지원, FAQ, Q&A 게시판을 통해 기술 문제 해결을 지원합니다.

묻고 답하기

오류발생 합니다. 도와주세요
  • 작성자

    김*현

  • 작성일

    2010-02-08 18:01:10

  • 조회수

    4,716

  • 구분

    공통컴포넌트

  • 진행상태

    완료

질문

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에서 오류가 나서 사용안하려면 주석체크 하라고 해서
주석처리후에 해당오류가 발생합니다.

답변

안녕하세요.. 김재현님..

해당 오류는 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>

그럼.. 즐거운 하루되십시오.
감사합니다.

이 페이지의 구성

묻고 답하기