简体   繁体   中英

Class not found exception in eclipse web project (applet)

I'm trying to create web application in eclipse. 请看我的截图。 I want Eclipse to generate .class file that would be reffered from index.html. What should I do?

Eclipse compiles *.java files automatically. Ensure Project -> Build automatically is selected.

在与包含.class文件的项目相同的路径中应该有一个bin或classes文件夹。

  1. Create new folder for applets: webProj->Properties->Java Build Path->Default Output folder
  2. Update applet tag: applet code="SimpleApplet.class" codebase ="./applet/" width=400 height=200

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