• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem using Hibernate Extensions: hbm2java

 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello again,

I am a Hibernate newbie...

Have the following jars my Eclipe IDE's build path (of course, I have much much more, but I didn't want to list them all):

-hibernate3.jar
-hibernate-tools.jar
-hibernate-annotations.jar
-hibernateconsole.jar
-hsqldb.jar

(Just downloaded these from SourceForge so they are relatively very new)...

Created the following Ant build script:



Now, when I run the build script, I get the following error:



Is the code that I am using "out-of-date" or "obsolete" with the jars that I am currently using?

Sincerely yours,
[ March 09, 2007: Message edited by: Unnsse Khan ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it looks like the jars are for Hibernate3, in which the package names have been changed.

You code looks like it is trying to import from net/sf/hibernate/MappingException

net.sf.hibernate is no longer the package structure.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic