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. ,

    If JVM throws ClassNotFoundException the class is not found in classpath. Seems you are missing hibernate dependency in your project set up. Try downloading hibernate-core.jar and add to your project classpath.

Solutions on the web

via Liferay Issues by Jose Jimenez, 1 year ago
via Liferay Issues by Jose Jimenez, 2 years ago
via Apache's JIRA Issue Tracker by Yuri Schimke, 2 years ago
java.lang.ExceptionInInitializerError at org.apache.webdav.lib.WebdavSession.getSessionInstance(WebdavSession.java:145) at org.apache.webdav.lib.WebdavSession.getSessionInstance(WebdavSession.java:127) at org.apache.webdav.lib.WebdavResource.setClient(WebdavResource.java:1273) at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1298) at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1320) at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1408) at org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:290) at org.apache.maven.wagon.providers.webdav.CorrectedWebdavResource.<init>(CorrectedWebdavResource.java:54) at org.apache.maven.wagon.providers.webdav.WebDavWagon.openConnection(WebDavWagon.java:143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:217) at org.eclipse.aether.connector.wagon.WagonRepositoryConnector.connectWagon(WagonRepositoryConnector.java:400) at org.eclipse.aether.connector.wagon.WagonRepositoryConnector.pollWagon(WagonRepositoryConnector.java:440) at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:630) at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: org/apache/log4j/Category (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: org/apache/log4j/Category (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at org.apache.commons.httpclient.HttpClient.<clinit>(HttpClient.java:69) ... 17 moreCaused by: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: org/apache/log4j/Category (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) ... 21 moreCaused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:447) at java.security.AccessController.doPrivileged(Native Method) at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376) ... 22 moreCaused by: java.lang.ClassNotFoundException: org.apache.log4j.Category at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227) ... 28 more