程序报错
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
原因是缺少maven-compiler-plugin插件
在pom.xml中插入
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.2</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>