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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 24168
    
  30

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The java class could not be loaded. java.lang.ClassFormatError
 
Similar Threads
invalid identifier
another strange question
Unsupported major.minor
static methods can't be overidden why
class question