Maven error :Perhaps you are running on a JRE rather than a JDK?

后端 未结 20 2357
小鲜肉
小鲜肉 2020-11-30 21:32

I\'ve never worked with Maven before and I am following the instructions here. When I run the command

mvn integration-test -Pamp-to-war

It

20条回答
  •  情书的邮戳
    2020-11-30 21:40

    I had the same error and I was missing the User variable: JAVA_HOME and the value for the SDK - "C:\Program Files\Java\jdk-9.0.1" in my case

提交回复
热议问题