开发者社区> 问答> 正文

为什么新建的springboot项目报错?报错

新建的springboot web项目,一建出来pom.xml就报错 错误的地方是这里: × <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.1.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> 错误的信息是这样的: Multiple annotations found at this line: - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven- resources-plugin:2.6:testResources (execution: default-testResources, phase: process-test-resources) - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven- resources-plugin:2.6:resources (execution: default-resources, phase: process-resources) 试过网上搜一些信息但都没用,快崩溃了,请问怎么办呀?

展开
收起
爱吃鱼的程序员 2020-06-08 17:11:16 510 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    可能是下载插件jar的时候,出了问题,删除本地对应的jar,重新下载

    springboot入门: http://www.roncoo.com/course/view/c99516ea604d4053908c1768d6deee3d

    你可以到本机的maven仓库手工将spring-boot相关jar包删除清理再刷新工程让其重新下载一遍看看

    2020-06-08 17:11:33
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
使用Spring.Initializr定制工程脚手架 立即下载
陈曦:使用Spring.Initializr定制工程脚手架 立即下载
低代码开发师(初级)实战教程 立即下载