Maven not picking JAVA_HOME correctly

后端 未结 8 1524
日久生厌
日久生厌 2020-12-03 02:35

I am on windows environment and using maven to compile my project. Although I just created the project and added the dependencies for various libararies.

As I added

8条回答
  •  Happy的楠姐
    2020-12-03 03:16

    Also look in the .mavenrc file in your home dir. This caught me off guard.

    I changed everything as suggested only to find that my .mavenrc file set the JAVA_HOME to an older version.

提交回复
热议问题