NutzCN Logo
问答 springboot+nutz打war的时候无法找到oracle的jar,怎么弄?
发布于 1796天前 作者 码农 1501 次浏览 复制 上一个帖子 下一个帖子
标签:
Failed to execute goal on project datasync: Could not resolve dependencies for project com.aa:war:0.0.1-SNAPSHOT: Failure to find com.oracle:ojdbc6:jar:11.2.0.3 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
5 回复
用的这个
clean package  -Dmaven.test.skip=true

oracle驱动用了本地的?scope=system的?

把jar包install到本地之后可以打成war,但是放到tomcat里面之后就又开始报错了,配的双数据库

 nested exception is java.lang.RuntimeException: Failed to get driver instance for jdbcUrl=jdbc:oracle:thin:@192.168.1.23:1521:orcl

没启动数据库咯

数据库是启动着的,idea里面跑项目都正常,打成war放到tomcat下就不行了,

添加回复
请先登陆
回到顶部