eGovFrame 표준프레임워크 포털

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

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

본문 영역

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

묻고 답하기

properties 를 적용할 때 에러남 추가
  • 작성자

    정*필

  • 작성일

    2021-04-08 11:12:38

  • 조회수

    5,097

  • 구분

    적용지원(기술지원)

  • 진행상태

    완료

질문

전자정부프레임웍을 2.5 에서 3.9로 적용을 할려고 합니다.
==> 아래 답변에 맞춰서 업그레이드를 했습니다.
기존에 프로퍼티 파일이 적용되어 있어서 동일하게 적용을 하는데요
context-web-common.xml에 propertyService가 셋팅되어 있습니다.
<property name="extFileName">
<set>
<value>classpath*:/패스/파일명.properties</value>
</set>
</property>
위와 같이 되어 있는데, was 를 기동을 하면 에러가 납니다.
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'propertyService' defined in ServletContext resource [/WEB-INF/config/spring/context-web-common.xml]: Invocation of init method failed; nested exception is egovframework.rte.fdl.cmmn.exception.FdlException: error.properties.refresh.files
.......
Caused by: egovframework.rte.fdl.cmmn.exception.FdlException: error.properties.refresh.files
.......
Caused by: org.springframework.context.NoSuchMessageException: No Message found under code 'debug.properties.filename' for locale 'ko_KR'.
.......
Root Exception stack trace:
Caused by: org.springframework.context.NoSuchMessageException: No Message found under code 'debug.properties.filename' for locale 'ko_KR'.
....
위와 같은 에러 메세지가 나옵니다.

아래 답변에 맞춰서 모두 업그레이드를 했는데 동일한 에러가 나옵니다.

환경정보
    - OS 정보 : 리눅스
    - 표준프레임워크 버전 : 3.9
    - JDK(JRE) 정보 : 1.8
    - WAS 정보 : 제우스
    - DB 정보 : 오라클
    - 기타 환경 정보 :
답변

안녕하세요.
표준프레임워크센터입니다.

앞선 답변에서 말씀드린것처럼
현재 발생된 오류는 property 정보를 정확하게 가지오지 못해서 발생된 오류입니다.

문의하신 내용만으로는
설정에 정의한 파일명과 실제 파일명이
일치하지 않아 발생한 경우로 보이므로
이 부분을 먼저 확인해보시면 좋을것 같습니다.

감사합니다.
 

이 페이지의 구성

묻고 답하기