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

后端 未结 20 2345
小鲜肉
小鲜肉 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:46

    i am using centos and getting same error when run mvn command with goal, install. After some googling i have found the solution to run following command.

    sudo yum install java-1.8.0-openjdk-devel

提交回复
热议问题