Hibernate java.lang.ClassNotFoundException: Annotations -
time basic question can't find answer. realize exception means class missing, find thing?
stack trace:
warn worker-0 org.hibernate.cfg.annotationconfiguration - unable apply constraints on ddl annotations java.lang.classnotfoundexception: annotations @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:506) @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:422) @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:410) @ org.eclipse.osgi.internal.baseadaptor.defaultclassloader.loadclass(defaultclassloader.java:107) @ java.lang.classloader.loadclass(classloader.java:248) @ java.lang.class.forname0(native method) @ java.lang.class.forname(class.java:169) @ org.hibernate.util.reflecthelper.classforname(reflecthelper.java:192) @ org.hibernate.cfg.annotationconfiguration.applyhibernatevalidatorlegacyconstraintsonddl(annotationconfiguration.java:463) @ org.hibernate.cfg.annotationconfiguration.applyconstraintstoddl(annotationconfiguration.java:428) @ org.hibernate.cfg.annotationconfiguration.secondpasscompile(annotationconfiguration.java:403) @ org.hibernate.cfg.configuration.generateschemacreationscript(configuration.java:920) @ org.hibernate.tool.hbm2ddl.schemaexport.<init>(schemaexport.java:129) @ org.hibernate.tool.hbm2ddl.schemaexport.<init>(schemaexport.java:91) @ org.hibernate.tool.hbm2x.hbm2ddlexporter.dostart(hbm2ddlexporter.java:159) @ org.hibernate.tool.hbm2x.abstractexporter.start(abstractexporter.java:95) @ org.hibernate.eclipse.launch.codegenerationlaunchdelegate$1.execute(codegenerationlaunchdelegate.java:408) @ org.hibernate.console.execution.defaultexecutioncontext.execute(defaultexecutioncontext.java:63) @ org.hibernate.console.consoleconfiguration.execute(consoleconfiguration.java:72) @ org.hibernate.eclipse.launch.codegenerationlaunchdelegate.runexporters(codegenerationlaunchdelegate.java:383) @ org.hibernate.eclipse.launch.codegenerationlaunchdelegate.launch(codegenerationlaunchdelegate.java:310) @ org.eclipse.debug.internal.core.launchconfiguration.launch(launchconfiguration.java:853) @ org.eclipse.debug.internal.core.launchconfiguration.launch(launchconfiguration.java:702) @ org.eclipse.debug.internal.ui.debuguiplugin.buildandlaunch(debuguiplugin.java:924) @ org.eclipse.debug.internal.ui.debuguiplugin$8.run(debuguiplugin.java:1128) @ org.eclipse.core.internal.jobs.worker.run(worker.java:54)
tia
javassist library missing classpath.
Comments
Post a Comment