Error using HBM2JAVA in Hibernate-Extensions

xiaoxiao2021-04-01  201

Caused by: java.lang.NoClassDefFoundError: net / sf / hibernate / MappingException at net.sf.hibernate.tool.hbm2java.Hbm2JavaTask.processFile (Hbm2JavaTask.java:145) at net.sf.hibernate.tool.hbm2java.Hbm2JavaTask. Execute (hbm2javatask.java: 93) at Org.Apache.Tools.ant.unkNownElement.execute (unknownelement.java: 275) at Org.Apache.Tools.ant.task.Perform (Task.java: 364) at Org.Apache .Tools.ant.target.execute (target.java: 341) at Org.Apache.Tools.ant.target.PerformTasks (target.java: 369) at Org.Apache.Tools.ant.Project.ExecutesortTedTargets (Project.java) : 1216) at org.apache.tools.ant.Project.executeTarget (Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets (DefaultExecutor.java:40) at org.eclipse.ant. internal.ui.antsupport.EclipseDefaultExecutor.executeTargets (EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets (Project.java:1068) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner. Run (Internalantrunner.java: 423) at Org.eclipse.nt.internal.ui .antsupport.Internalantrunner.main (Internalantrunner.java: 137)

at net.sf.hibernate.tool.hbm2java.Hbm2JavaTask.processFile (Hbm2JavaTask.java:149) at net.sf.hibernate.tool.hbm2java.Hbm2JavaTask.execute (Hbm2JavaTask.java:93) at org.apache.tools.ant .UnknownElement.execute (unknownElement.java: 275) at Org.apache.tools.ant.task.Perform (Task.java: 364) at Org.Apache.Tools.Tools.Target.Execute (target.java: 341) AT org.apache.tools.ant.Target.performTasks (Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets (Project.java:1216) at org.apache.tools.ant.Project.executeTarget ( Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets (DefaultExecutor.java:40) at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets (EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets (Project.java:1068) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run (InternalAntRunner.java:423) at org.eclipse.ant.internal .ui.antsupport.internalantrunner.main (Internalantrunner.java: 137) Wishing Hibernat The E version of 3.1, and Hibernate3's PACHAGE has become org.hibernate, but it is still Net.Sf.hibernate.

转载请注明原文地址:https://www.9cbs.com/read-131286.html

New Post(0)