java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:

2024-12-18 19:00:44
推荐回答(1个)
回答1:

监听器确认lsnrctl status是否正常
Java代码里的连接字符串是否和服务器一致、尤其是数据库SID名