• 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
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!