oracle - 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
但不工作
解决方案
推荐阅读
- java - reactiveMongoTemplate.insert(t) 应该返回 ReactiveInsert
- google-cloud-platform - 如何在 https://identitytoolkit.googleapis.com/v1/accounts:signUp 的 POST 请求中发送附加属性
- javascript - 如何在 dart 中正确导入 js 库?颤振网络应用程序
- python-3.x - socket套接字消耗大量CPU
- database - VARBINARY 是在 Snowflake 中加入的好数据类型吗?
- ios - 呈现 UISearchController 后如何下移 UITableView?
- android - Android:如何以编程方式检查您的智能手机是否有单声道或立体声输出(1 或 2 个扬声器)
- node.js - Sequelize Pool to Postgres DB 同时在多个请求上失败
- postgresql - 在 Postgresql 中将相同的实体映射到不同的模式
- javascript - 如何在不使用异步等待的情况下使用 javascript 正确调用两个 REST API?