gwtp samples testing

6 views
Skip to first unread message

Coolzy

unread,
Oct 6, 2010, 11:12:36 AM10/6/10
to GWTP
i tested the samples

gwtnestesdsample - working fine
gwttabsample - working fine
gwthpplacesample - cannot find class
com.gwtplatform.samples.hplace.shared.GetProductAction;
com.gwtplatform.samples.hplace.shared.GetProductResult;
etc


gwtpsample - compiled is ok, when try run as debug mode, i get error

java.lang.NoClassDefFoundError: com/gwtplatform/dispatch/server/guice/
HandlerModule

Philippe Beaudoin

unread,
Oct 6, 2010, 11:18:12 AM10/6/10
to gwt-pl...@googlegroups.com
The ant build seems to be compiling them fine (they're built every
night on the CI server). The eclipse project works well too here. My
guess is you got a problem with annotation processors.

Philippe

marius andreiana

unread,
Oct 6, 2010, 6:22:37 PM10/6/10
to GWTP
On Oct 6, 6:18 pm, Philippe Beaudoin <philippe.beaud...@gmail.com>
wrote:
> The ant build seems to be compiling them fine (they're built every
> night on the CI server). The eclipse project works well too here. My
> guess is you got a problem with annotation processors.
See http://code.google.com/p/gwt-platform/wiki/BoilerplateGeneration#Configuring_your_build_environment
for fix.

Coolzy

unread,
Oct 7, 2010, 8:32:31 AM10/7/10
to GWTP


Philippe Beaudoin,

my eclipse compile without error as well . i followed
http://www.google.com/url?sa=D&q=http://code.google.com/p/gwt-platform/wiki/BoilerplateGeneration%23Configuring_your_build_environment&usg=AFQjCNHojHuQTUQNEZvOHpt6aCJDj1OezA
added the annotation processing and added gwtp0.4jar in factory path.
i still get error

WARNING: Error starting handlers
java.lang.NoClassDefFoundError: com/gwtplatform/dispatch/server/guice/
HandlerModule
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)


when trying to run "BASICSAMPLE". on the other hand, i able to run
without error for "tabsample" "nestedsample" and for both samples, i
did not included annotation processing and gwtp0.4jar into factory
path

Philippe Beaudoin

unread,
Oct 7, 2010, 11:20:32 AM10/7/10
to gwt-pl...@googlegroups.com
Do you get the samples from the trunk? If so, they are meant to run
with the latest gwtp from the CI server. (If you got them from the
zip, they should run off the shelf.)

Philippe

Reply all
Reply to author
Forward
0 new messages