首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >找不到插件'org.springframework.boot:spring-boot-maven-plugin:‘

找不到插件'org.springframework.boot:spring-boot-maven-plugin:‘
EN

Stack Overflow用户
提问于 2020-11-02 12:36:27
回答 1查看 70.1K关注 0票数 47

我是spring boot的新手,我打算用maven项目连接h2数据库。这是我的pom.Xml文件。文件显示错误

找不到插件'org.springframework.boot:spring-boot-maven-plugin:‘

代码语言:javascript
运行
复制
4.0.0
    
        org.springframework.boot
        spring-boot-starter-parent
        2.3.5.RELEASE
         
    
    dev.che
    stu
    0.0.1-SNAPSHOT
    stu
    Demo project for Spring Boot

    
        1.8
    

    
        
            org.springframework.boot
            spring-boot-starter-data-jpa
        
        
            org.springframework.boot
            spring-boot-starter-web
        

        
            org.springframework.boot
            spring-boot-devtools
            runtime
            true
        
        
            com.h2database
            h2
            runtime
        
        
            org.springframework.boot
            spring-boot-starter-test
            test
            
                
                    org.junit.vintage
                    junit-vintage-engine
                
            
        
    

    
        

            
                org.springframework.boot
                spring-boot-maven-plugin

如果你能帮助修复这个错误,我将非常感激。

EN

回答 1

Stack Overflow用户

发布于 2020-11-02 12:48:22

The The The

pom.xml

是正确的。似乎有网络问题。

由于这个原因,插件没有被下载。

在这个项目上。

更新的pom.xml:

代码语言:javascript
运行
复制
4.0.0
    
        org.springframework.boot
        spring-boot-starter-parent
        2.3.5.RELEASE
         
    
    dev.che
    stu
    0.0.1-SNAPSHOT
    stu
    Demo project for Spring Boot

    
        1.8
    

    
        
            org.springframework.boot
            spring-boot-starter-data-jpa
        
        
            org.springframework.boot
            spring-boot-starter-web
        

        
            org.springframework.boot
            spring-boot-devtools
            runtime
            true
        
        
            com.h2database
            h2
            runtime
        
        
            org.springframework.boot
            spring-boot-starter-test
            test
            
                
                    org.junit.vintage
                    junit-vintage-engine
                
            
        
    

    
        
            
                org.springframework.boot
                spring-boot-maven-plugin
票数 13
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/64639836

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档