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

前端 未结 3 1168
鱼传尺愫
鱼传尺愫 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:19

    The pom for com.sun.xml.bind.jaxb-impl has com.sun.xml.bind:jaxb-parent has its parent.

    jaxb-parent pom has the following section:

    
        default-tools.jar
        
            
                ${java.home}/../lib/tools.jar
            
        
        
            ${java.home}/../lib/tools.jar
        
    
    
        default-tools.jar-mac
        
        
            ${java.home}/../Classes/classes.jar
        
        
        
            ${java.home}/../Classes/classes.jar
        
    
    

    In your Eclipse, neither of the profile seems to be activated due to which ${tools.jar} does not have a value.

    One possibility could be JAVA_HOME value is set incorrectly.

提交回复
热议问题