This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Exception in ClassFormatError:  Absent Code attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Exception in ClassFormatError:  Absent Code attribute" Watch "Exception in ClassFormatError:  Absent Code attribute" New topic
Author

Exception in ClassFormatError: Absent Code attribute

alfonz jan frithz
Greenhorn

Joined: Apr 20, 2009
Posts: 20
I was just reading book from apress, Beginning Hibernate 2nd edition, i tried the hello world example using mysql database, but it throws an exception. Here is the code

im using netbeans anyway..





and here is the configuration file



then this exception appear


please any help would be appreciated...

Regards,



Alfonz Jan Frithz
Subin Sugunan
Greenhorn

Joined: Jul 01, 2009
Posts: 14

Hello alfonz

Can you make sure you have proper versions of the following jars in classpath

validation-api
hibernate-validator


Thanks and Best Regards
Subin Sugunan
 
Have you checked out Aspose?
 
subject: Exception in ClassFormatError: Absent Code attribute
 
It's not a secret anymore!