报错内容: 模式连接orarle时报ORA-12505错误 { ORA-12505, TNS:listener does not currently know of SID given in connect descriptor (CONNECTION_ID=en2XoOiZT9uIhJSx5VZuPw==) at oracle.jdbc.driver.T4CConnection.handleLogonNetException(T4CConnection } 原因:Oracle版本过高, 查询版本SQL(select * from v$version;) 解决办法:把URL的端口:库名改成端口/库名 |