Problem with Java JDBC unable to connect to Oracle

  Kiến thức lập trình

This is the Oracle database server version I built.
enter image description here
This is the Java program code I wrote and I don’t know why it can’t connect.
enter image description here
There is no issue when using a database connection tool to connect.
enter image description here

How do I solve this problem, I am a beginner?

New contributor

charis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT