Missing artifact org.springframework.boot:spring-boot-starter-parent:jar:1.3.2.RELEASE

前端 未结 1 709
春和景丽
春和景丽 2021-02-05 07:33

I am getting the following error in POM.xml for spring boot dependency.

Missing artifact org.springframework.boot:spring-boot-starter-parent:jar:1.3.2.REL

1条回答
  •  天涯浪人
    2021-02-05 08:12

    You're getting this error because there is no jar artifact for spring-boot-starter-parent in maven central, since spring-boot-starter-parent uses pom packaging. The reason for that is because it's intended to be used as a parent pom:

    
        org.springframework.boot
        spring-boot-starter-parent
        1.3.2.RELEASE
    
    

    Alternatively, you can just import the managed dependencies if that is what you intended to do:

    
        
            
                org.springframework.boot
                spring-boot-starter-parent
                1.3.2.RELEASE
                import
                pom
               
        
    
    

    You can read more about importing dependencies in the Importing Dependencies section of the Introduction to the Dependency Mechanism article.

    0 讨论(0)
提交回复
热议问题