java.sql.SQLException: Invalid Oracle URL specified

12,905

You appear to be missing a colon; as per the JDBC API reference and developer's guide, the syntax is:

jdbc:oracle:driver_type:[username/password]@database_specifier

So yours should be:

jdbc:oracle:oci8:@cssm
Share:
12,905
user1684535
Author by

user1684535

Updated on June 14, 2022

Comments

  • user1684535
    user1684535 almost 2 years

    I am getting java.sql.SQLException: Invalid Oracle URL specified error when running my java application from eclipse. I am using Oracle version 10. classes12.jar is used for the oracle driver oracle.jdbc.OracleDriver Please help me resolving this issue