File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes ClassNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "ClassNotFoundException " Watch "ClassNotFoundException " New topic
Author

ClassNotFoundException

Kifar
Greenhorn

Joined: Dec 27, 2004
Posts: 16
Hi

Java Console Error:

Error loading class: EasyJava
java.lang.NoClassDefFoundError
java.lang.ClassNotFoundException: EasyJava
at com/ms/vm/loader/URLClassLoader.loadClass (URLClassLoader.java)
at com/ms/vm/loader/URLClassLoader.loadClass (URLClassLoader.java)
at com/ms/applet/AppletPanel.securedClassLoad (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.run (AppletPanel.java)
at java/lang/Thread.run (Thread.java)

My HTML Tag:

<applet name="easyapplet" code="EasyJava.class" width=660 height=180 MAYSCRIPT>
</applet>

But this is run in Appletviewer.

pl help me

rafik
Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 804
You can actually post as a reply to messages, rather than starting a new thread with the reply. The thread will be easier to follow this way.

Is your class file in the same directory as the html file?

Also, what's that MAYSCRIPT stuff? That may invalidate the Applet tag in IE because it's only valid in Netscape (and Microsoft doesn't like Netscape...)

[ January 12, 2005: Message edited by: Jeff Bosch ]
[ January 12, 2005: Message edited by: Jeff Bosch ]

Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Rafik --

Welcome to JavaRanch!

You may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. One name isn't enough. You can change your display name here. Thanks.


[Jess in Action][AskingGoodQuestions]
 
wood burning stoves
 
subject: ClassNotFoundException
 
Similar Threads
jdk 1.1.8 applet gives ClassNotFoundException
Uable to view swing applet on Sun site!
applet reload problem.
java.lang.ClassNotFoundException help!!
Viewing Applets on browsers