首页 > 解决方案 > ORA-12505,TNS:监听器当前不知道连接描述符中给出的 SID,错误

问题描述

11:30:42,691 ERROR IdTableHelper:105 - Unable obtain JDBC Connection
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

出于某种原因,我在 Tomcat v9.0 中启动了我的 Java 应用程序,而 jdbc 给了我错误。我可以将 throw Dbeaver 连接到 Oracle 数据库,但现在不能从 Eclipse 连接。

_jdbc.driverClassName=oracle.jdbc.OracleDriver
_jdbc.url=jdbc:oracle:thin:@esfbcnoda01.ind.local:1521:JUNDESAB

我也试过:

_jdbc.url=jdbc:oracle:thin:@esfbcnoda01.ind.local:1521/JUNDESAB

但不工作

标签: oraclejdbc

解决方案


推荐阅读