• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception in ClassFormatError: Absent Code attribute  RSS feed

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello alfonz

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

validation-api
hibernate-validator
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!