eclipse maven 项目一直报错 无法install,ojdbc 本地已经有了?报错-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

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

爱吃鱼的程序员 2020-06-09 10:27:48 71
[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



Java Maven Android开发
分享到
取消 提交回答
全部回答(1)
  • 爱吃鱼的程序员
    2020-06-09 15:45:02

    删掉本地仓库的jar包,或者加-U强制更新提示缺包,看看你仓库的包有没有,或者即使有你的包其实不是完整的也不行无所谓 看下你的maven-lib中有没有引入这个包,有的话项目一样跑删除本地库,然后再次更新本地库

    看看是不是maven正在运行,

    然后是不是应该先clean一下

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

    已解决,给中央库没有的jar重新生成就好,然后更新项目

    0 0
开发与运维
使用钉钉扫一扫加入圈子
+ 订阅

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题
推荐课程