Getting “The POM for is invalid, transitive dependencies (if any) will not be available” only in Eclipse

前端 未结 3 1181
鱼传尺愫
鱼传尺愫 2021-02-13 12:39

I have recently upgraded to JAXB 2.2.11 and noticed in my Eclipse console the following message:

10/15/14, 11:42:46 PM GMT+2: [INFO] Creating new launch configur         


        
3条回答
  •  遇见更好的自我
    2021-02-13 13:13

    After further investigation it appears that I have the same problem as in this question:

    Maven not picking JAVA_HOME correctly

    The solution thanks to @rustyx (please upvote that answer):

    To fix the issue you need to start Eclipse using the JRE from the JDK by adding something like this to eclipse.ini (before -vmargs!):

    -vm
    C:\\jre\bin\javaw.exe
    

提交回复
热议问题