java.lang.NoClassDefFoundError

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

Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3937

  • oracle/jdbc/internal/OracleConnection (wrong name: oracle/jdbc/proxy/oracle$1jdbc$1babelfish$1BabelfishConnection$2oracle$1jdbc$1internal$1OracleConnection$$$Proxy)
  • oracle/jdbc/OracleConnection
  • Stack trace

    • 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.defineClass(Unknown Source) at oracle.jdbc.proxy.ClassGenerator$2.findClass(ClassGenerator.java:326) 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.defineClass(Unknown Source) at oracle.jdbc.proxy.ClassGenerator$2.findClass(ClassGenerator.java:326) 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 oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:184) at com.example.OracleTest.testOracle(OracleTest.java:60)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    12 times, 1 month ago
    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 9 months ago
    Once, 1 year ago
    12 times, 1 year ago
    139 more bugmates