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

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

java.lang.NoClassDefFoundError: org/hibernate/proxy/HibernateProxy	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(Unknown Source)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)	at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)	at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)	at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)	at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:127)	at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)	at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)	at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:135)	at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:55)	at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:56)	at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:295)	at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)	at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)	at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)	at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)	at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1175)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1145)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:276)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:360)	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:241)	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4183)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)	at org.apache.catalina.core.StandardService.start(StandardService.java:450)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)	at org.apache.catalina.startup.Catalina.start(Catalina.java:551)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)