jQuery in Action, 3rd edition
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


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)
 
Have you checked out Aspose?
 
subject: Error: "NoClassDefFoundError"
 
It's not a secret anymore!