Failure to transfer dependency, was cached in the local repository

前端 未结 4 878
傲寒
傲寒 2020-12-17 22:47

I am working on maven 2 project on eclipse, and I have the m2e plugin, and I am getting the following error in Eclipse:

Failure to transfer com.thoughtworks.x         


        
4条回答
  •  一向
    一向 (楼主)
    2020-12-17 23:23

    If you are using Eclipse:

    • Go to Window->Preferences->Maven:
      check the download artifact source code, artifact javadoc, update maven project on startup.

    • In the folder that contains pom.xml, run:
      mvn clean install -U

    It worked for me :).

提交回复
热议问题