java.lang.NoClassDefFoundError: oracle/jdbc/internal/OracleConnection (wrong name: oracle/jdbc/proxy/oracle$1jdbc$1babelfish$1BabelfishConnection$2oracle$1jdbc$1internal$1OracleConnection$$$Proxy)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

Solutions on the web

via Stack Overflow by Sleepy Pixels
, 1 year ago
oracle/jdbc/internal/OracleConnection (wrong name: oracle/jdbc/proxy/oracle$1jdbc$1babelfish$1BabelfishConnection$2oracle$1jdbc$1internal$1OracleConnection$$$Proxy)
via Stack Overflow by user1793318
, 2 years ago
in/test/TestInterface(wrong name: in/test/DynamicCompilationHelloWorld)
via robocode by hendrik0
, 1 year ago
Abal (wrong name: robocode/Abal)
via robocode by galopier
, 1 year ago
Lem/burk/Roger (wrong name: burk/Roger)
via robocode by captain_m
, 1 year ago
robots/dd/Robocop (wrong name: dd/Robocop)
java.lang.NoClassDefFoundError: oracle/jdbc/internal/OracleConnection (wrong name: oracle/jdbc/proxy/oracle$1jdbc$1babelfish$1BabelfishConnection$2oracle$1jdbc$1internal$1OracleConnection$$$Proxy)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.jdbc.proxy.ClassGenerator.generate(ClassGenerator.java:319)
at oracle.jdbc.proxy.ProxyFactory.prepareProxy(ProxyFactory.java:517)
at oracle.jdbc.proxy.ProxyFactory.createProxy(ProxyFactory.java:479)
at oracle.jdbc.proxy.ProxyFactory.proxyForCache(ProxyFactory.java:272)
at oracle.jdbc.proxy.ProxyFactory.proxyFor(ProxyFactory.java:105)
at oracle.jdbc.proxy.ProxyFactory.proxyFor(ProxyFactory.java:91)
at oracle.jdbc.driver.OracleDriver.babelfishConnect(OracleDriver.java:657)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:561)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:317)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:241)
at com.example.OracleTest.testOracle(OracleTest.java:60)

Users with the same issue

Once, 5 months ago
Once, 6 months ago
12 times, 7 months ago
Once, 1 year ago
14 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.