Oracle Jdbc Connect Error: oracle.net.ns.NetException: Got minus one from a read call
==============================
1. Question:
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 Connection:
spring.datasource.jdbcUrl=jdbc:oracle:thin:@127.0.0.1:1521/oral
spring.datasource.driverClassName=oracle.jdbc.OracleDriver
2. Solutions:
Replace the ‘/’ before the service with a colon ‘:’
spring.datasource.jdbcUrl=jdbc:oracle:thin:@127.0.0.1:1521:oral
Similar Posts:
- [Solved] Spring Boot Error: “jdbcUrl is required with driverClassName.”
- [Solved] Failed to bind properties under ” to com.zaxxer.hikari.Hikari DataSource Spring Boot
- Springboot Error: Failed to configure a DataSource: ‘url’ attribute is not specified and no embedd
- IO exception: socket read timed out always appears in Oracle program
- The last packet successfully received from the server was 26,958 milliseconds ago.
- SSM Project Error: java.sql.SQLException: Access denied for user ‘????…§’@’localhost’ (…
- How to Solve Cannot determine embedded database driver class for database type NONE
- [Solved] Spring Boot Startup Error: DataSourceProperties$DataSourceBeanCreationException
- Java.sql.sqlexception: an analysis of the causes of exhausted resultset
- java.sql.SQLException: Fail to convert to internal