在MAVEN install 项目时 出现如下异常:


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project spring-cloud-eureka-server-cluster: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?


可以看出是 maven-surefire-plugin:2.18.1 插件问题,在网上寻找解决方案如下:


<plugin>

   <groupId>org.apache.maven.plugins</groupId>

   <artifactId>maven-surefire-plugin</artifactId>

   <version>2.18.1</version>

   <configuration>

      <skipTests>true</skipTests>

   </configuration>

</plugin>


再 install 一次 ,成功!