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

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

    This is how i fixed my problem

    right clik on the project > properties > Java Compiler (select the one you are using)

    it was 1.5 for me but i have 1.8 installed. so i changed it to 1.8.. and voilla it worked!.

提交回复
热议问题