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仓库发现:
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=C:\Users\Administrator\Desktop\ojdbc14xx.jar
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 去本地仓库删除下载错误:
相关文章推荐
- struts2.xml中的全局Result和局部Result
- Spring-mybatis整合 获取properties 创建SQLSessionFactory失败
- Java中文分词器Ansj的使用
- java配置dbcp连接池(数据库连接池)示例分享
- 【Java】final, finally, finalize的区别
- Java操作Sqlite数据库-jdbc连接
- Java操作Sqlite数据库-jdbc连接
- Java并发编程:volatile关键字解析
- 由数据库数据类型得到JAVA对应类型的工具类
- Spring源代码解析
- 详解Java中的对象克隆
- Java 如何有效地避免内存溢出:善于利用软引用和弱引用
- Eclipse 文档注释,属性或者方法的文档注释
- 关于Java的字符串
- eclipse中使用maven库添加jar包时,出现jar包冲突的解决方案
- Swing【java】
- Freemarker与普通java
- spring经常找不到xsd
- 【Java】类执行过程
- Java 文件字符过滤流练习--银行卡信息系统(console)