invalid connection string format, a valid format is host:ip:port

After Oracle 11.2.0.4 database is upgraded to 19C, the original interface program reports an error: invalid connection string format, a valid format is host:ip :port

The reason is: Java variables refer to classes12. Jar and Ojdbc14. Jar, which leads to conflicts

Solution: after removing classes12. Jar, it will be normal.

In addition, the program should use JDK1.8 and ojdbc8.jar or above synchronously, which is a big change.

Relevant information:

The driver package classes12.jar is used for JDK 1.2 and JDK 1.3, while ojdbc14.jar is used for JDK 1.4

https://sqlora.blog.csdn.net/article/details/112985085

Read More: