허드슨 빌드 오류
- 작성자 :
- 천*선
- 작성일 :
- 2012-08-20 11:36:53
- 조회수 :
- 1,744
- 구분 :
- 개발환경
- 진행상태 :
- 완료
Q
허드슨에서
svn://localhost/svn/lab303-easycompany-tutor 빌드가 되지 않습니다.
JDK 1.4 로는 설정한 적이 없는데...
Can't use annotations when running in JDK 1.4 mode! 라고 나오는 등
빌드 오류에 대한 이유를 모르겠습니다.
pom.xml 과 err msg 파일 첨부했습니다.
답변 좀 꼭 부탁드릴께요.
감사합니다.
svn://localhost/svn/lab303-easycompany-tutor 빌드가 되지 않습니다.
JDK 1.4 로는 설정한 적이 없는데...
Can't use annotations when running in JDK 1.4 mode! 라고 나오는 등
빌드 오류에 대한 이유를 모르겠습니다.
pom.xml 과 err msg 파일 첨부했습니다.
답변 좀 꼭 부탁드릴께요.
감사합니다.
A
안녕하세요.. 천혜선님..
pom.xml에서 컴파일을 담당하는 maven-compiler-plugin 설정 부분에 별도의 설정이 없다면.. 1.4로 컴파일하도록 되어 있습니다.
형상서버에 등록된 pom.xml 상에 다음과 같은 설정이 포함되어 있는지 확인해보십시요..
(원래 lab에는 포함되어 있음)
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
그럼.. 즐거운 하루되십시오.
감사합니다.
pom.xml에서 컴파일을 담당하는 maven-compiler-plugin 설정 부분에 별도의 설정이 없다면.. 1.4로 컴파일하도록 되어 있습니다.
형상서버에 등록된 pom.xml 상에 다음과 같은 설정이 포함되어 있는지 확인해보십시요..
(원래 lab에는 포함되어 있음)
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
그럼.. 즐거운 하루되십시오.
감사합니다.