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

Solutions on the web

via Hibernate JIRA by Kai Prünte, 1 year ago
via Oracle Community by Aashima Jain, 1 year ago
via Google Groups by Oliver Wong, 11 months ago
via Google Groups by Haykel, 11 months ago
java.lang.NoClassDefFoundError: com/ssn/acx/extensions/logistics/mfs/logisticobject/MFSTransportUnitType	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	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:121)	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:269)	at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:425)	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:1218)	at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:282)	at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:56)	at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:85)	at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:277)	at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:41)	at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:88)	at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:94)	at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:207)	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)