Hi Harsh
The ClassNotFoundException occurs in the browser, right? You have to
make sure that your build (Ant I assume) places the needed classes in
the right place.
So you have to take the following steps:
1. Build one or multiple JAR files containing all classes and
resources needed by your applet.
2. Use the GwtAI @Archive annotation to tell GwtAI how these JAR files
are named.
3. Place the JAR files such that the browser can see them. Eg. in the
GWT output directory or inside the WAR file you want to deploy.
4. Use the GwtAI @Codebase annotation to tell GwtAI where the JAR
files can be found.
I'll do a more detailed FAQ entry explaining where the
ClassNotFoundException is coming from...
Hope that helps.
Regards, Adrian
On Apr 28, 11:42 pm, harsh yadav <
harsh.de...@gmail.com> wrote:
> Hi I tried running the the test applet, given on the project group.
>
> I followed the exact steps, and searched internet a lot to fix the error.
>
> However, I am getting a class not found exception. And as I read a lot of
> other people are also getting the same error.
>
> Is this resolved, or is there any work-around.
>
> Here is the error log (from the browser):
>
> <error>
> load: class edu.rutgers.poodle.gui.applet.FolderChooserAppletImpl.class not
> found.
> java.lang.ClassNotFoundException:
> edu.rutgers.poodle.gui.applet.FolderChooserAppletImpl.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:8888/edu/rutgers/poodle/gui/applet/FolderChooserAppl...