• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The java class could not be loaded. java.lang.ClassFormatError

 
punna Kumar
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i am working in a small projct,when ever running the project i am getting the folowing error

The java class could not be loaded. java.lang.ClassFormatError:admin/SecurityCheck (Illegal UTF8 string in constant pool)


plz help, why it's happening ,plz give soluation

Rgds,
punna
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, have you got a class named "admin.SecurityCheck"? Have you deleted the *.class file and recompiled it, in case it was corrupted?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic