Maven pointing to JRE instead of jdk

前端 未结 7 1885
南笙
南笙 2020-12-10 11:46

I\'ve been working with a co-worker on a problem I have been experiencing on a new project I just joined. Long story short, maven isn\'t building my .war file correctly. W

7条回答
  •  萌比男神i
    2020-12-10 12:14

    In Eclipse, Window>Preferences>Java>Installed JREs> make sure jdk is present and selected.

    If jdk and jre both are present, then delete jre from Installed JREs.

提交回复
热议问题