i get error when i try to run applet

10 views
Skip to first unread message

ben fenster

unread,
Jan 18, 2010, 6:17:14 AM1/18/10
to gwtai
load: class x.fileupload.FileUploadApplet.class not found.
java.lang.ClassNotFoundException: x.fileupload.FileUploadApplet.class
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/x/fileupload/FileUploadApplet/class.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

kilkenny

unread,
Jan 21, 2010, 4:43:33 AM1/21/10
to gwtai
Hi Ben

Seems like the Applet runtime can not find your classes. How does your
setup look like? What did you put in the 'archive' tag?

Regards, Adrian

raza

unread,
Mar 8, 2010, 5:44:12 PM3/8/10
to gwtai
Im getting the same error, and it seems like its a common issue people
are having. The applet loader doesnt format the path to the class
correctly. The error I get when trying to compile the example project
is:

Caused by: java.io.IOException: open HTTP connection failed:http://

localhost:10283/VisualizeUser/org/xyz/visualize/applet/
CounterAppletImpl/class.class

This 'class.class' issue is whats going wrong.

I have the following in the applet interface

@ImplementingClass(org.xyz.visualize.applet.CounterAppletImpl.class)
@Height("60")
@Width("350")
@Archive("GwtAI-Client-0.2.jar,GwtAI-Demo-0.2.jar")

I tried to change implementingclass to the other annotation
(appletclassname or whatever) but that didnt compile.

I've been knocking my head against this for hours. Would appreciate
any help.

ben fenster

unread,
Mar 9, 2010, 12:49:37 PM3/9/10
to gw...@googlegroups.com
ן i used pure html code in an htmlpanel i can  send it to u if u want :)

--
You received this message because you are subscribed to the Google Groups "gwtai" group.
To post to this group, send email to gw...@googlegroups.com.
To unsubscribe from this group, send email to gwtai+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gwtai?hl=en.




Raza Ali

unread,
Mar 9, 2010, 12:56:24 PM3/9/10
to gw...@googlegroups.com
Yes please.

KenJi_getpowered

unread,
Mar 29, 2010, 11:58:36 AM3/29/10
to gwtai
It seems that we all have this problem... even with the example code.

I am also trying to make an applet work without GWTai because I juste
lost 3hours :( awful.. i am sorry because the project seemed
promising....

for another solution you can have a look at :
http://groups.google.com/group/gwtai/t/da76e7012648e32e

And if any moderator can explain us really how to make it work or give
an eclipse project working it would be great.

++

On 9 mar, 19:56, Raza Ali <raza....@gmail.com> wrote:
> Yes please.
>

> On Tue, Mar 9, 2010 at 5:49 PM, ben fenster <fenster....@gmail.com> wrote:
> > ן i used pure html code in an htmlpanel i can  send it to u if u want :)
>

> >> gwtai+un...@googlegroups.com <gwtai%2Bunsu...@googlegroups.com>


> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/gwtai?hl=en.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "gwtai" group.
> > To post to this group, send email to gw...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > gwtai+un...@googlegroups.com <gwtai%2Bunsu...@googlegroups.com>.

kilkenny

unread,
Apr 29, 2010, 1:56:48 AM4/29/10
to gwtai
Hi guys

Sorry for the late response :-(

See my answer in this thread:
http://groups.google.com/group/gwtai/browse_thread/thread/de87c656e80d41b6?hl=en

Regards, Adrian
To unsubscribe from this group, send email to gwtai+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages