This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception in ClassFormatError: Absent Code attribute
 
Similar Threads
session null
SQLGrammarException
SEVERE: Duplicate entry '1' for key 'PRIMARY'
Hibernate problem
adding more than one entry