SpringSide出现No compiler is provided in this env...

Springside点击quick-start.bat后出现
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.
0:compile (default-compile) on project springside-test: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on
a JRE rather than a JDK?


原因:springside的安装需要运行在jdk而不是jre上,所以JAVA_HOME要指向JDK而不是JRE
解决办法:windows+Pause键>Advanced System Settings>Advanced>Environment Variables>System variables,把JAVA_HOME从C:\Program Files\Java\jre6改成C:\Program Files\Java\jdk1.6.0_25

你可能感兴趣的:(SpringSide出现No compiler is provided in this env...)