标签:
1》(不要用默认的jre ,需要用jdk编译)
ou can choose any of following solution to fix [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?.
pom.xml中控制maven引用的版本
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
标签:
原文地址:http://www.cnblogs.com/leo3689/p/5013636.html