Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/arduino/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 在appletviewer中运行小程序时出错:NoClassDefFoundError_Java_Html_Applet - Fatal编程技术网

Java 在appletviewer中运行小程序时出错:NoClassDefFoundError

Java 在appletviewer中运行小程序时出错:NoClassDefFoundError,java,html,applet,Java,Html,Applet,我刚在网页中的小程序执行中遇到问题: 弹出一个错误对话框: calculator是我的类名,Exercise4是包含它的文件夹。我确信html文件和calculator.class位于名为Exercise4的同一文件夹中。这里发生了什么事 我确信html文件和calculator.class位于名为Exercise4的同一文件夹中 这将是一个问题。HTML需要在根目录下,而不是在“package”目录下

我刚在网页中的小程序执行中遇到问题: 弹出一个错误对话框:

calculator是我的类名,Exercise4是包含它的文件夹。我确信html文件和calculator.class位于名为Exercise4的同一文件夹中。这里发生了什么事

我确信html文件和calculator.class位于名为Exercise4的同一文件夹中

这将是一个问题。HTML需要在根目录下,而不是在“package”目录下