• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem using Hibernate Extensions: hbm2java

 
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic