maven仓库有jar包还是报错怎么办?

出现这种情况通常是jar不能自动下载

一、下载jar包外的其他文件,并放到仓库对应路径下:

点击View All,下载其他文件并放到仓库

二、这样仓库这个对应jar包的文件就齐全了。如果还是报错,请检查是否少一个_remote.repositories文件。

没有就在别的jar文件下复制一个,做相应修改:fastdfs-client-java-1.27-RELEASE对应你的jar包名称

#NOTE: This is an Aether internal implementation file, its format can be changed without prior notice.
#Sat Dec 22 16:08:05 CST 2018
fastdfs-client-java-1.27-RELEASE.jar>central=
fastdfs-client-java-1.27-RELEASE.pom>central=

 maven刷新一下就好了

猜你喜欢

转载自www.cnblogs.com/zeussbook/p/10757444.html