尝试连接Oracle11g_database时,为什么会出现“ Ping失败”的问题?

时间:2019-07-18 08:03:58

标签: eclipse jpa oracle11g connection

当我尝试与Oracle11g_database连接时,出现Ping失败..的问题。”

java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
        at java.base/java.net.URLClassLoader.findClass(Unknown Source)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at java.base/java.net.FactoryURLClassLoader.loadClass(Unknown Source)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.createConnection(JDBCConnection.java:327)
        at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
        at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
        at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:96)
        at org.eclipse.datatools.enablement.internal.oracle.JDBCOracleConnectionFactory.createConnection(JDBCOracleConnectionFactory.java:27)
        at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
        at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
        at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
        at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

这是我观察到的几个问题screenshots

error message Properties File

您能建议我如何解决此问题吗??

0 个答案:

没有答案