您的位置:首页 > 大数据 > 人工智能

Maven新导入项目时出现错误Failure to transfer commons-lang:commons-lang:jar:2.1 from https://repo.maven.apache.

2017-03-17 21:27 1776 查看
导入新项目时出现类似的错误:

1. Failure to transfer commons-lang:commons-lang:jar:2.1 from https://repo.maven.apache.org/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 commons-lang:commons-lang:jar:2.1 from/to central (https://repo.maven.apache.org/maven2): Connection reset

或者是这种:

2. Missing artifact com.oracle:ojdbc14:jar:10.2.0.2.0

右键Maven Dependencies,configure build path,发现提示的jar包有的是缺失的。右键项目,选Maven,更新项目即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐