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

Multiple annotations found at this line: - Missing artifact javax.jms:jms:

2016-05-16 10:28 519 查看
项目没问题,结果重新下载以后出现错误:

Multiple annotations found at this line: - Missing artifact javax.jms:jms:

ArtifactTransferException: Failure to transfer javax.jms:jms:jar:1.1 from https://maven-repository.dev.java.net/nonav/repository was cached in the local repository, resolution will not be reattempted until the update interval of java.net has elapsed or updates are forced. Original error: Could not transfer artifact javax.jms:jms:jar:1.1 from/to java.net


去本地maven仓库发现:

解决方法1自己手动添加:

命令行运行:

mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=C:\Users\Administrator\Desktop\ojdbc14xx.jar


解决方法2 去本地仓库删除下载错误:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: