Find Oracle JDBC driver in Maven repository

前端 未结 22 1684
你的背包
你的背包 2020-11-22 09:28

I want to add the oracle jdbc driver to my project as dependency (runtime scope) - ojdbc14. In MVNrepository site the dependency to put in the POM is:



        
22条回答
  •  深忆病人
    2020-11-22 10:06

    SOLVED

    • Please do following settings to resolve the error

    This repository needs to be enable for finding Oracle 10.0.3.0 dependecies (this setting needs to be done in Buildconfig.groovy grails.project.dependency.resolver = "ivy" // or ivy

    Also use following setting for compile time Oracle driver download

    runtime "com.oracle:ojdbc:10.2.0.3.0"

    This should solve your issue for not finding the Oracle driver for grails application


提交回复
热议问题