简体   繁体   中英

Error in running applet in appletviewer: NoClassDefFoundError

I just ran into trouble in applet execution in webpage: An error dialog popped up: “计算器是我的班级名称,exercise4是包含它的文件夹”

calculator is my class name and Exercise4 is the folder that contains it. I am sure that the html file and the calculator.class are in the same folder named Exercise4. What is happening in here?

I am sure that the html file and the calculator.class are in the same folder named Exercise4.

That would be a problem. The HTML needs to be at the root, not inside the 'package' directory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM