玩框架2.4 oracle

时间:2015-07-13 19:50:07

标签: playframework oracle10g playframework-2.4

我的oracle数据库存在问题:

[warn]  module not found: com.oracle#ojdbc6;11.2.0
[warn] ==== local: tried
[warn]   /home/adrian/.ivy2/local/com.oracle/ojdbc6/11.2.0/ivys/ivy.xml
[warn] ==== activator-launcher-local: tried
[warn]   /home/adrian/projects/com.silenceonthewire.defcollector/repository/com.oracle/ojdbc6/11.2.0/ivys/ivy.xml
[warn] ==== activator-local: tried
[warn]   /home/adrian/activator-dist-1.3.5/repository/com.oracle/ojdbc6/11.2.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/com/oracle/ojdbc6/11.2.0/ojdbc6-11.2.0.pom
[warn] ==== typesafe-releases: tried
[warn]   http://repo.typesafe.com/typesafe/releases/com/oracle/ojdbc6/11.2.0/ojdbc6-11.2.0.pom
[warn] ==== typesafe-ivy-releasez: tried
[warn]   http://repo.typesafe.com/typesafe/ivy-releases/com.oracle/ojdbc6/11.2.0/ivys/ivy.xml
[info] Resolving net.contentobjects.jnotify#jnotify;0.94-play-1 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.oracle#ojdbc6;11.2.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn] 

什么是当前的oracle数据库驱动程序进入播放2.4?

1 个答案:

答案 0 :(得分:0)

欢迎来到SO。 看来你需要下载&将JDBC驱动程序添加到本地Ivy存储库。 (据我所知,没有使用Oracle JDBC驱动程序的公共存储库)

或者,使用sbt,您还可以在/ lib目录中添加驱动程序。 据我记得,播放脚本是sbt的包装,所以它也可以这样工作(待测试)

编辑:如果您有存储库,请在文档中查找如何添加jar。 如果你正在寻找快速和脏方法,要添加到本地缓存,您可以检查Unable to add jar file to .ivy cache manually