Forum Stats

  • 3,780,856 Users
  • 2,254,449 Discussions
  • 7,879,485 Comments

Discussions

java.lang.ClassNotFoundException (Applet)

I have created a simple applet application that is embedded in a HTML. When I did compiled it, I received an error of ClassNotFoundException. I'm using Jdeveloper11gR1. Please see screenshot.

Did I miss something?


applet2.JPG

This is my error :

java.lang.ClassNotFoundException: cams.gsis.applet.CAMSApplet

  at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)

  at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)

  at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

  at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

  at java.lang.ClassLoader.loadClass(Unknown Source)

  at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)

  at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)

  at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

  at java.lang.Thread.run(Unknown Source)

And this is my Error on java console.

basic: Added progress listener: [email protected]

security: Expected Main URL: http://localhost:7101/CAMSv6-CAMSv6-context-root/cams/gsis/applet/CAMSApplet.class

network: Cache entry not found [url: http://localhost:7101/CAMSv6-CAMSv6-context-root/cams/gsis/applet/CAMSApplet.class, version: null]

network: Connecting http://localhost:7101/CAMSv6-CAMSv6-context-root/cams/gsis/applet/CAMSApplet.class with proxy=DIRECT

network: Connecting http://localhost:7101/ with proxy=DIRECT

network: Cache entry not found [url: http://localhost:7101/CAMSv6-CAMSv6-context-root/cams/gsis/applet/CAMSApplet.class, version: null]

network: Connecting http://localhost:7101/CAMSv6-CAMSv6-context-root/cams/gsis/applet/CAMSApplet.class with proxy=DIRECT

java.lang.ClassNotFoundException: cams.gsis.applet.CAMSApplet

  at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)

  at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)

  at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

  at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

  at java.lang.ClassLoader.loadClass(Unknown Source)

  at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)

  at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)

  at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

  at java.lang.Thread.run(Unknown Source)

basic: load: class cams.gsis.applet.CAMSApplet not found.

java.lang.ClassNotFoundException: cams.gsis.applet.CAMSApplet

  at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)

  at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)

  at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

  at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

  at java.lang.ClassLoader.loadClass(Unknown Source)

  at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)

  at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)

  at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

  at java.lang.Thread.run(Unknown Source)

Ignored exception: java.lang.ClassNotFoundException: cams.gsis.applet.CAMSApplet

basic: Dialog type is not candidate for embedding

security: Accessing keys and certificate in Mozilla user profile: null

security: Reset deny session certificate store

security: Reset deny session certificate store

basic: Removed progress listener: [email protected]

basic: PluginMain.unregisterApplet: 1 from mananger [email protected]

Tagged:

Answers

This discussion has been closed.