【问题标题】:IntelliJ can't find OJDBC driver in debug modeIntelliJ 在调试模式下找不到 OJDBC 驱动程序
【发布时间】:2016-04-05 14:15:00
【问题描述】:

我正在尝试使用 IntelliJ IDEA 15 调试我的 grails 3.09 应用程序。 它出现类 Not Found Exception 错误:

原因:java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver

感觉 IntelliJ 找不到 ojdbc 驱动。

有解决这个问题的建议吗?

【问题讨论】:

    标签: intellij-idea classnotfoundexception grails-3.0 ojdbc


    【解决方案1】:

    你的 build.gradle 中有依赖吗?

    您是否执行过“刷新所有 Gradle 项目”? https://www.jetbrains.com/idea/help/synchronizing-changes-in-gradle-project-and-intellij-idea-project.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2010-11-12
      • 2018-06-20
      • 1970-01-01
      • 2015-09-09
      • 1970-01-01
      • 2019-07-17
      相关资源
      最近更新 更多