ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

昨天运行一个功能出现下面这个错误,
我改了SQL语句,我以为把SQL语句改错了,结果是因为换了数据库服务器地址,
在properties文件中更改了数据库地址即可

09:25:44.752 [qtp1551629761-44] ERROR Log4j2Impl.error - init datasource error, url: jdbc:oracle:thin:@//X.X.X.X:1521/X
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
``
发布了89 篇原创文章 · 获赞 42 · 访问量 22万+

猜你喜欢

转载自blog.csdn.net/cjhxydream/article/details/91793109
今日推荐