aspose file tools*
The moose likes Java in General and the fly likes The java class could not be loaded. java.lang.ClassFormatError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "The java class could not be loaded. java.lang.ClassFormatError" Watch "The java class could not be loaded. java.lang.ClassFormatError" New topic
Author

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

punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
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

Joined: Jul 08, 2003
Posts: 24184
    
  34

Well, have you got a class named "admin.SecurityCheck"? Have you deleted the *.class file and recompiled it, in case it was corrupted?


[Jess in Action][AskingGoodQuestions]
 
jQuery in Action, 2nd edition
 
subject: The java class could not be loaded. java.lang.ClassFormatError