• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception in ClassFormatError: Absent Code attribute

 
Alfonsus Hartanto
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
 
Subin Sugunan
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic