This is the error I am getting on my java console:
It cannot find my applet class
load: class com.test.AppletForm not found.
java.lang.ClassNotFoundException: com.test.AppletForm
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
just for testing purposes I put the jar files in the same directory with the
html and applet class ..
zandile wrote:
>
> I have been trying all sorts of work arounds to include an applet into
> wicket:
> I keep getting an classnotfoundexception in the java console for the
> applet. I am running wicket 1.2.6 and I am not sure what exactly is wrong
> with this, My applet runs fine when I run it in eclipse using the applet
> viewer but when I stick it into a page then I get the
> classnotfoundexception ???
>
> <applet code="com.test.AppletForm.class" width="600" height="300"
> archive="jfreechart-1.0.8.jar, jcommon-1.0.12.jar" >
>
> </applet>
>
> How exactly does wicket go about looking for classes?
> Help appreciated..
>
>
--
View this message in context:
http://www.nabble.com/wicket-applet-issue-tf4950236.html#a14176577
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]