Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Class Not Found Error in JDeveloper with Applet

mh379860lySep 9 2012 — edited Sep 27 2012
HI Gentlemen,

I have to set up an applet for my project using JDeveloper. I created an ADF application with Model and View projects, where the Model project has a very simple Applet and a HTML page to call it. The whole thing is located in ..\mywork\.. using only JDeveloper defaults. The applet only has a text field with preset contents "HI, I am the applet!" just to see that it is working. Now, when I start the run target HTML page against the applet viewer, it is OK. However, when I start against the built-in Weblogic server, the following Java console results:

Java Plug-in 1.6.0_31
Verwendung der JRE-Version 1.7.0_02-b13 Java HotSpot(TM) Client VM
Home-Verzeichnis des Benutzers = C:\Users\gksadmin

----------------------------------------------------
c: Konsole löschen
f: Objekte in Finalisierungswarteschlange finalisieren
g: Speicherbereinigung
h: Diese Hilfemeldung anzeigen
l: ClassLoader-Liste ausgeben
m: Speicherbelegung anzeigen
o: Protokollierung auslösen
q: Konsole ausblenden
r: Richtlinien-Konfiguration neu laden
s: System- und Bereitstellungseigenschaften ausgeben
t: Threadliste ausgeben
v: Thread-Stack ausgeben
x: ClassLoader-Cache löschen
0-5: Trace-Stufe auf <n> setzen
----------------------------------------------------

Laden: Klasse card.model.Applet1 nicht gefunden.
java.lang.ClassNotFoundException: card.model.Applet1
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(ClassLoader.java:356)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
Ausnahme: java.lang.ClassNotFoundException: card.model.Applet1

I'm sorry about it--if I add the ..\model\ directory to the Classpath, it does the same. Nothing happens with the browser.

Can anyone help me?

Thank you in advance, kind regards from

Miklos HERBOLY
This post has been answered by Frank Nimphius-Oracle on Sep 10 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 25 2012
Added on Sep 9 2012
3 comments
673 views