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:

  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$	at Method)	at	at java.lang.ClassLoader.loadClass(	at sun.misc.Launcher$AppClassLoader.loadClass(	at java.lang.ClassLoader.loadClass(	at java.lang.ClassLoader.loadClassInternal(	at org.hibernate.connection.C3P0ConnectionProvider.configure(	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(	at org.hibernate.cfg.SettingsFactory.createConnectionProvider(	at org.hibernate.cfg.SettingsFactory.buildSettings(	at org.hibernate.cfg.Configuration.buildSettings(	at org.hibernate.cfg.Configuration.buildSessionFactory(	at com.mkyong.persistence.HibernateUtil.buildSessionFactory(	at com.mkyong.persistence.HibernateUtil.(	at com.mkyong.common.App.main(