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


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Error: "NoClassDefFoundError" " Watch "Error: "NoClassDefFoundError" " New topic
Author

Error: "NoClassDefFoundError"

Rod Taylor
Greenhorn

Joined: Aug 03, 2012
Posts: 25

Can anyone please explain to me why this html code will keep showing "NoClassDefFoundError" with a description "SimpleApp (wrong name: applet/simpleapp/SimpleApp)"?

It's a very simple code:


And here is the html code:

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<Applet code="SimpleApp" height="500" width="300" >
</applet>
</body>
</html>

I compiled the code with a specified destination since I like it that my source and class files are separated. I put the html code in the same folder as the SimpleApp.class folder.

Any help appreciated. Thanks!


Nothing you're really good at that you don't do everyday (Will Smith)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error: "NoClassDefFoundError"