导入新项目时出现类似的错误:
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,更新项目即可