oracle.net.ns.NetException: Got minus one from a read call

Oracle Jdbc鏈接錯誤:oracle.net.ns.NetException: Got minus one from a read call

 

================================java

©Copyright 蕃薯耀 2020-04-15spring

https://www.cnblogs.com/fanshuyao/oracle

 

1、問題描述:spa

Caused by: oracle.net.ns.NetException: Got minus one from a read call at oracle.net.ns.Packet.receive(Packet.java:303) at oracle.net.ns.NSProtocol.connect(NSProtocol.java:296) at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1102) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:320) ... 48 more

 

Jdbc鏈接:.net

spring.datasource.jdbcUrl=jdbc:oracle:thin:@127.0.0.1:1521/oral spring.datasource.driverClassName=oracle.jdbc.OracleDriver

 

2、解決方案:code

將服務前的「/」換成冒號「:」blog

spring.datasource.jdbcUrl=jdbc:oracle:thin:@127.0.0.1:1521:oral

 

 

================================get

©Copyright 蕃薯耀 2020-04-15io

https://www.cnblogs.com/fanshuyao/class

相關文章
相關標籤/搜索