No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
요런 에러가 뜬다.
프로젝트 마우스 우클릭 -> Run -> Maven Build
하다보면 Console 창에 보이는 오류
구글링을 해서 발견
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project Millky2: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Preferences -> Java -> Installed JREs
Add 눈질른다.
셋 중에 선택을 해야 하지만, 기본적으로 Standard VM이 선택되어 있다.
그리고 잘 보면 기존에 선택된(첫그림의) JRE가 Standard VM으로 되어있다.
Program Fiels -> Java -> jdk 1.X 경로의 root를 지정해주면 된다.
끄읕