Try using the correct package:

code="com.mycompany.HelloWorld"

On Mon, Dec 21, 2009 at 6:13 AM, local_shamil <shaena...@gmail.com> wrote:
>
> -----------------------
> load: class /myproject/src/main/webapp/Class/HelloWorld not found.
> java.lang.ClassNotFoundException:
> .myproject.src.main.webapp.Class.HelloWorld
>        at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        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(Unknown Source)
> Caused by: java.io.IOException: open HTTP connection
> failed:http://localhost:8080/myproject/src/main/webapp/Class/HelloWorld.class
>        at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
>        at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
>        at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
>        at java.security.AccessController.doPrivileged(Native Method)
>        ... 7 more
> Exception: java.lang.ClassNotFoundException:
> .myproject.src.main.webapp.Class.HelloWorld
>
>
>
> local_shamil wrote:
>>
>> should i create a package under WEBAPP called Class and then add the
>> applet.class file there .... ???
>>
>>
>> but still i am getting a NOCLASSFOUND exception ...
>>
>>
>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/applet-in-wicket-..-exception-thrown-...-tp26814020p26872593.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to