You only need to put your server-side stuff into WEB-INF/lib and only when
you are deploying to your server (should be part of your ant script to build
your war). Otherwise, just adding to the build path in Eclipse works great
(you don't even need jars - just add projects to your classpath).
On
Oh and gwt-dev-anything.jar should not go into your WEB-INF/lib. That set
of jars is strictly for HostedMode stuff again - just add it to your
classpath. They are not for deployment.
As for where to put the JSPs, that's a good question. There's little
documentation as of yet (since 1.6 still
Hi Vitali, thanks for you answer,
If you look at my first post, you see that my classpath contains the
path to the build of my other project.
/Users/thomas/Dev/Inv_WEB_v2/Inv_WEB_v2/Proj_3/build
/Users/thomas/Dev/Inv_WEB_v2/Inv_WEB_v2/Proj_2/build
Migrating from gwt 1.5 to gwt 1.6, i'm facing a problem trying to
start the hosted mode.
When i access my login.jsp using the HostedMode (under war/), i get a
NoClassDefFoundError (org/apache/jasper/runtime/JspSourceDependent).
I'm using Mac OS X Leopard.
See below all my projects structures:
I tried to put the gwt-dev-mac.jar (which should not be put, but it's
just to test). Now, i get a different error :
I installed recently Safari 4 BETA (just to let you know)
[...]
[java] On Mac OS X, ensure that you have Safari 3 installed.
BUILD FAILED
Ok, i eventually managed to have everything works but i'm not happy.
To make this work, i had to :
- put gwt-dev.mac.jar inside my WEB-INF/lib so jetty can find the
classes in case of a JSP. That sucks because i have an extra step
(removing it) during my deployment to the prod server (which is