Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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: 17346
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
 
mooooooo ..... tiny ad ....
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic