Maven not downloading dependencies in Eclipse

后端 未结 11 1455
伪装坚强ぢ
伪装坚强ぢ 2021-01-03 19:08

I am setting up a project in eclipse . This projects builds successfully through command line(all mvn commands like mvn package, mvn compile<

11条回答
  •  孤城傲影
    2021-01-03 19:38

    Sometimes there is an error downloading a dependency - eg. some files are downloaded but the actual JAR is missing from the local Maven repository.

    In this case I had to delete the whole folder of the problematic dependency in the local maven repository. Only then did Maven update work (Right-click on the project and select Project > Maven > Update Project.... )

提交回复
热议问题