我在eclipse中写了一个applet程序package test.applet;import javax.swing.*;public class HelloWorld extends JApplet {
public void init(){
JLabel label = new JLabel("Hello World",SwingConstants.CENTER);
add(label);
}
}然后在class文件所在的目录下,写了一个HelloWorld.html调用applet<html>
  <title>Hello World</title>
  <applet code="HelloWorld.class" width="300" height="200"></applet>
</html>通过appletviewer查看html报错
e:\project\test\test\test\applet> appletviewer HelloWorld.htmljava.lang.NoClassDefFoundError: HelloWorld(wrong name :test/applet/HelloWorld) 
  at jaava.lang.ClassLoarder.defineCalss1(Native Method)
  ...
请问为什么会找不到class类呢?应该如何处理啊?