pom.xml中出现以下错误提示:
Failure to transfer org.jboss.weld:weld-core:jar:1.0.1-SP3 from https://repo./ maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.weld:weld-core:jar:1.0.1-SP3 from/to central (https://repo./maven2)
解决办法:
第一步:找到本地仓库中关于该jar文件的存储路径
第二步:将该路径下面的文件全部删除掉
第三步:在pom.xml中重新引入该jar的依赖,重新将该jar存储到本地仓库中
<!-- /artifact/org.jboss.weld/weld-core --><dependency><groupId>org.jboss.weld</groupId><artifactId>weld-core</artifactId><version>1.0.1-SP3</version></dependency>