eclipse maven 项目一直报错 无法install,ojdbc 本地已经有了

山林中的疯子 发布于 2016/09/19 15:29
阅读 593
收藏 0
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building splat-core-gen 1.0.0
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.sml.sz:splat-framework🏺1.0.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.592 s
[INFO] Finished at: 2016-09-19T15:27:41+08:00
[INFO] Final Memory: 7M/121M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project splat-core-gen: Could not resolve dependencies for project com.sml.sz:splat-core-gen🏺1.0.0: The following artifacts could not be resolved: com.oracle:ojdbc14🏺10.2.0.4.0, com.sml.sz:splat-framework🏺1.0.0: Failure to find com.oracle:ojdbc14🏺10.2.0.4.0 in 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 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException6



加载中
0
一生做恶
一生做恶
删掉本地仓库的jar包,或者加-U强制更新
0
v若水
v若水
提示缺包,看看你仓库的包有没有,或者即使有你的包其实不是完整的也不行
0
月月川
月月川
无所谓  看下你的maven-lib中有没有引入这个包 ,有的话项目一样跑
0
取个昵称咋这么难啊
取个昵称咋这么难啊
删除本地库,然后再次更新本地库
0
模糊的张狂
模糊的张狂

看看是不是maven正在运行,

然后是不是应该先clean一下

在者如果不行,就把target(貌似是叫这个名字)的文件夹删除,重新install试试、

0
山林中的疯子
已解决,给中央库没有的jar重新生成就好,然后更新项目
返回顶部
顶部