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

  1. ,
    Expert tip

    You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

  2. ,

    You are not deploying the oracle driver with the application. Place the driver jars in a shared or library extension folder of your application server. (You should go with option one or two though

java.lang.ClassNotFoundException: com.mchange.v2.c3p0.DataSources	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)	at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:154)	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)	at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:410)	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)	at com.mkyong.persistence.HibernateUtil.buildSessionFactory(HibernateUtil.java:13)	at com.mkyong.persistence.HibernateUtil.(HibernateUtil.java:8)	at com.mkyong.common.App.main(App.java:11)