mysql - Hibernate java.lang.NoClassDefFoundError: org/apache/commons/collections/MultiMap -


every time i'm trying refresh database scheme hibernate reverse engineering file unhandled event loop exception:

hibernate reverse engineering file

java.lang.noclassdeffounderror: org/apache/commons/collections/multimap @ java.lang.class.getdeclaredmethods0(native method) @ java.lang.class.privategetdeclaredmethods(unknown source) @ java.lang.class.privategetmethodrecursive(unknown source) @ java.lang.class.getmethod0(unknown source) @ java.lang.class.getmethod(unknown source) @ org.jboss.tools.hibernate.runtime.common.util.invokemethod(util.java:41) @ org.jboss.tools.hibernate.runtime.common.abstractoverriderepositoryfacade.addtablefilter(abstractoverriderepositoryfacade.java:31) @ org.hibernate.eclipse.mapper.editors.reverseengineeringeditor.getlazydatabaseschema(reverseengineeringeditor.java:219) @ org.hibernate.eclipse.mapper.editors.reveng.typemappingformpart$1.dorefreshtree(typemappingformpart.java:57) @ org.hibernate.eclipse.console.wizards.treetotablecomposite$6.widgetselected(treetotablecomposite.java:400) @ org.eclipse.swt.widgets.typedlistener.handleevent(typedlistener.java:248) @ org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java:84) @ org.eclipse.swt.widgets.display.sendevent(display.java:4362) @ org.eclipse.swt.widgets.widget.sendevent(widget.java:1113) @ org.eclipse.swt.widgets.display.rundeferredevents(display.java:4180) @ org.eclipse.swt.widgets.display.readanddispatch(display.java:3769) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine$4.run(partrenderingengine.java:1127) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:337) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine.run(partrenderingengine.java:1018) @ org.eclipse.e4.ui.internal.workbench.e4workbench.createandrunui(e4workbench.java:156) @ org.eclipse.ui.internal.workbench$5.run(workbench.java:694) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:337) @ org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:606) @ org.eclipse.ui.platformui.createandrunworkbench(platformui.java:150) @ org.eclipse.ui.internal.ide.application.ideapplication.start(ideapplication.java:139) @ org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:196) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:134) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:104) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:380) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:235) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ org.eclipse.equinox.launcher.main.invokeframework(main.java:669) @ org.eclipse.equinox.launcher.main.basicrun(main.java:608) @ org.eclipse.equinox.launcher.main.run(main.java:1515) caused by: java.lang.classnotfoundexception: org.apache.commons.collections.multimap cannot found org.jboss.tools.hibernate.runtime.v_5_1_5.0.1.final-v20160331-1852-b88 @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:439) @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:352) @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:344) @ org.eclipse.osgi.internal.loader.moduleclassloader.loadclass(moduleclassloader.java:160) @ java.lang.classloader.loadclass(unknown source) ... 37 more 

however, put commons-collections-3.2.2.jar , commons-collections-3.2.2-javadoc.jar in build path, in webcontent/web-inf/lib: project explorer

anybody knows how solve problem?

i had downgraded hibernate version 4.3 via hibernate console configuration , created configuration (hibernate perspective - run hibernate - hibernate code generation configuration), , started working.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -