경량템플릿
- 작성자 :
- 김*민
- 작성일 :
- 2024-01-30 14:30:09
- 조회수 :
- 528
- 구분 :
- 실행환경 / 4.1
- 진행상태 :
- 완료
Q
제가 new > eGovFrame Template Project > Common All-in-one 으로 프로젝트를 생성을 하고 톰켓서버 구성 후 run as > maven install 하니까 에러가 나옵니다.
[메이븐 에러]
[[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile[m [1m(default-compile)[m on project [36mCommon_All[m: [1;31mCompilation failure[m
[[1;31mERROR[m] [1;31mNo compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?[m
[[1;31mERROR[m] [1;31m[m
[[1;31mERROR[m] -> [1m[Help 1][m
[[1;31mERROR[m]
[[1;31mERROR[m] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch.
[[1;31mERROR[m] Re-run Maven using the [1m-X[m switch to enable full debug logging.
[[1;31mERROR[m]
[[1;31mERROR[m] For more information about the errors and possible solutions, please read the following articles:
[[1;31mERROR[m] [1m[Help 1][m http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
그리고 추가로 run as 하니까 404에러페이지가 나오는데 따로 설정을 해야 하는 부분이 있을까요?
제가 수정한 부분은 globals/properties 에서 DB설정만 변경하였습니다. ( DML DDL 스크립트 완료 )
다른 eGovFrame Template Project ( Enterprise Business, Portal Site)는 잘 실행이 되는데 Common All-in-one만 실행이 안되네요...
[메이븐 에러]
[[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile[m [1m(default-compile)[m on project [36mCommon_All[m: [1;31mCompilation failure[m
[[1;31mERROR[m] [1;31mNo compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?[m
[[1;31mERROR[m] [1;31m[m
[[1;31mERROR[m] -> [1m[Help 1][m
[[1;31mERROR[m]
[[1;31mERROR[m] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch.
[[1;31mERROR[m] Re-run Maven using the [1m-X[m switch to enable full debug logging.
[[1;31mERROR[m]
[[1;31mERROR[m] For more information about the errors and possible solutions, please read the following articles:
[[1;31mERROR[m] [1m[Help 1][m http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
그리고 추가로 run as 하니까 404에러페이지가 나오는데 따로 설정을 해야 하는 부분이 있을까요?
제가 수정한 부분은 globals/properties 에서 DB설정만 변경하였습니다. ( DML DDL 스크립트 완료 )
다른 eGovFrame Template Project ( Enterprise Business, Portal Site)는 잘 실행이 되는데 Common All-in-one만 실행이 안되네요...
환경정보
-
- OS 정보 : macOS
- 표준프레임워크 버전 : egovFrameDev-4.1.0
- JDK(JRE) 정보 : JRE [17.0.4.1]
- WAS 정보 : 아차피 톰켓 8.0
- DB 정보 : mysql
- 기타 환경 정보 :
A
안녕하세요.
표준프레임워크센터입니다.
Maven install 로그에 보면
No compiler is provided in this environment.
메시지가 보입니다.
프로젝트 설정에서 compiler 설정을 확인해 보셔야 할듯 합니다.
프로젝트명에 우클릭 > Properites > Java Build Path > Libraries 탭 에서 확인 가능하며
목록에 없다면
Installed JREs를 선택하여 java 설치 디렉토리등을 지정하여
compile에 사용하실 JDK를 등록하여 보시기 바랍니다.
감사합니다.
표준프레임워크센터입니다.
Maven install 로그에 보면
No compiler is provided in this environment.
메시지가 보입니다.
프로젝트 설정에서 compiler 설정을 확인해 보셔야 할듯 합니다.
프로젝트명에 우클릭 > Properites > Java Build Path > Libraries 탭 에서 확인 가능하며
목록에 없다면
Installed JREs를 선택하여 java 설치 디렉토리등을 지정하여
compile에 사용하실 JDK를 등록하여 보시기 바랍니다.
감사합니다.