AppFuse 의 메이븐 저장소에서 소스를 받아 가장 먼저 실행하는게 아마도 mvn 명령을 통한 빌드및 테스트 실행이라고 생각됩니다.
# 에러내용
최신버전인 2.1.0-M2 에서 실제로 mvn 을 통해 실행해보면 아래와 같은 에러가 발생합니다.
# 해결방법
src/main/resources/ApplicationResources_ko.properties 파일을 열어서, 9번 라인에 보면. 아래와 같은 설정이 있습니다.
다음처럼 수정해주세요.
# 에러내용
최신버전인 2.1.0-M2 에서 실제로 mvn 을 통해 실행해보면 아래와 같은 에러가 발생합니다.
[INFO] [talledLocalContainer] Tomcat 6.x started on port [8081]
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
Trying to override old definition of task retry
[echo] Testing 'newspaper-service-1.0-SNAPSHOT' with locale 'ko'
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while executing this line:
D:\MyLucy\workspace\NEWSPAPER\newspaper-service\src\test\resources\web-tests.xml:7: Property copyright.year was circularly defined.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37 seconds
[INFO] Finished at: Wed Jun 23 15:06:23 KST 2010
[INFO] Final Memory: 39M/95M
[INFO] ------------------------------------------------------------------------
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
Trying to override old definition of task retry
[echo] Testing 'newspaper-service-1.0-SNAPSHOT' with locale 'ko'
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while executing this line:
D:\MyLucy\workspace\NEWSPAPER\newspaper-service\src\test\resources\web-tests.xml:7: Property copyright.year was circularly defined.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37 seconds
[INFO] Finished at: Wed Jun 23 15:06:23 KST 2010
[INFO] Final Memory: 39M/95M
[INFO] ------------------------------------------------------------------------
# 해결방법
src/main/resources/ApplicationResources_ko.properties 파일을 열어서, 9번 라인에 보면. 아래와 같은 설정이 있습니다.
copyright.year=${copyright.year}
다음처럼 수정해주세요.
copyright.year=2009
'자바' 카테고리의 다른 글
[Spring] 샘플 실행시 "Unable to read TLD "META-INF/c.tld" from JAR file" 에러 메시지 (1) | 2010.07.24 |
---|---|
[Spring] Spring IDE 설치하기 (3) | 2010.07.20 |
[AppFuse] eclipse 프로젝트로 변환시 오류 (0) | 2010.06.23 |
[팁] eclipse에서 플러그인 삭제하기 (2) | 2009.08.10 |
[문서] Infinitest 사용하기 (2) | 2009.08.10 |