您的位置:首页 > 编程语言 > Java开发

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 
C:\Users\myusername\.m2\repository
 and
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.)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: