Eclipse | Maven : Multiple annotations found at this line
2016-04-02 19:07
549 查看
转自:http://stackoverflow.com/questions/6021899/eclipse-maven-multiple-annotations-found-at-this-line
Bug:
新建一个maven子工程,其有依赖的maven父工程,发现了子工程parent标签出出现错误:
Eclipse | Maven : Multiple annotations found at this line
方案:
It is not a unique issue, happens every now and then (sometimes due to a slow connection and sometimes due to proxy servers now allowing to download)
You can get rid of this by either of the following ways:
1) Force Update: Right Click on the Project in Eclipse -> Maven -> Update Project On this screen select the
check box Force Update for Snapshots/Releases
2) Clearing Maven Cache: If you still face a problem, go to the local repository on your system, which might be present at
delete the .cache folder and then follow step 1.
If still facing issues, manually go to the org/apache folder and delete everything and then follow step 1. (This will definitely solve the issue.)
Bug:
新建一个maven子工程,其有依赖的maven父工程,发现了子工程parent标签出出现错误:
Eclipse | Maven : Multiple annotations found at this line
方案:
It is not a unique issue, happens every now and then (sometimes due to a slow connection and sometimes due to proxy servers now allowing to download)
You can get rid of this by either of the following ways:
1) Force Update: Right Click on the Project in Eclipse -> Maven -> Update Project On this screen select the
check box Force Update for Snapshots/Releases
2) Clearing Maven Cache: If you still face a problem, go to the local repository on your system, which might be present at
C:\Users\myusername\.m2\repositoryand
delete the .cache folder and then follow step 1.
If still facing issues, manually go to the org/apache folder and delete everything and then follow step 1. (This will definitely solve the issue.)
相关文章推荐
- javah用法
- 20145229吴姗珊 《Java程序设计》第5周学习总结
- java.sql.SQLException: Access denied for user
- MyEclipse主题背景多样化
- Java高级部分之线程重点总结(下)
- Java并发编程系列之八:wait()、notify()和notifyAll()
- Spring学习---1
- Java内存区域划分
- Java---设计模块(设计模块的简介及最简单的俩个单例代码加测试)
- Java---设计模块(设计模块的简介及最简单的俩个单例代码加测试)
- 20160331javaweb之JSP 标签技术
- Java日记——识别简单的验证码
- Eclipse进行可视化的GUI开发3大GUI插件
- 深入理解Java的接口和抽象类
- java集合
- Java笔试题
- Java查找指定字符串第一次或最后一次出现的位置
- JAVA printWriter中write()和println()区别
- 职责链模式(Chain of Responsibility)的Java实现
- java中Date与String的相互转化