您的位置: 首页 > 文章 > maven pom.xml头文件报错:maven pom.xml Multiple annotations found at this line:... maven pom.xml头文件报错:maven pom.xml Multiple annotations found at this line:... 分类: 文章 • 2024-09-10 20:35:16 右击项目,点击Build Path,点击Libraries,可以看到有很多jar包出错。 解决: 1、右键项目,选择maven,选择update project 2、除默认选择外,再勾选Force Update of Snapshots/Releases,点击ok,等待maven依赖更新 如果等待依赖的时间太长,可以自行在网上下载对应的jar包,放在本地仓库中。