mvn test fails because of Surefire JDK version?

后端 未结 3 1966
说谎
说谎 2021-01-12 12:15

I am trying to run mvn test on my project. The project itself compiles and installs but man test fails with the following output:

[ERROR] Failed to execute g         


        
3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-12 13:13

    The JVM shall be explicitly set in the plugin configuration.

      
        org.apache.maven.plugins
        maven-surefire-plugin
        2.19.1
        
          ${env.JAVA_HOME}/bin/java
        
      
    

提交回复
热议问题