Learning RequestFactory but DynaTableRf fails

29 views
Skip to first unread message

Rud

unread,
Oct 26, 2010, 2:18:12 AM10/26/10
to Google Web Toolkit
Working to understand the RequestFactory with the DynaTableRf sample.
Problem is the @ProxyFor ad @Service annotations all have errors about
not finding the associated classes, e.g. Address, Person,
SchoolCalendarService. Error is:

com.google.gwt.sample.dynatablerf.domain.Address can not be found in
source packages. Check the inheritance chain from your module; it may
not be inheriting a required module or a module may not be adding its
source path entries properly.

Suggestions on making this work?

Rud
http://www.mysticlakesoftware.com

Thomas Broyer

unread,
Oct 26, 2010, 4:48:10 AM10/26/10
to Google Web Toolkit
Have you compiled the Java classes (with javac) and ensured they are
in the classpath?

(the error message would be misleading but it could be the cause:
actually not finding the compiled class, not the source)

Rud

unread,
Oct 26, 2010, 1:08:09 PM10/26/10
to Google Web Toolkit
I am using Eclipse Helios with automatic build so I assumed everything
is being compiled. But I did a GWT compile which didn't change
anything.

Then I tried adding <source path="domain"/> to the gwt.xml and that
fixed all but SchoolCalendarService which is in 'server'. Surely don't
want to add 'server' to the gwt.xml. Is SchoolCalendarService in the
wrong package?

So where are you supposed to put domain classes in the build tree?

Just last night I retrieved the project files from the SVN trunk so it
would appear the project may need some modifications before the
release.

Rud
http://www.mysticlakesoftware.com

Rud

unread,
Oct 27, 2010, 1:42:44 PM10/27/10
to Google Web Toolkit
Please see the thread "Cannot found source in GWT Project" I
uninstalled Designer and this solved my problem with the project:

Rud
http://www.mysticlakesoftware.com

On Oct 26, 3:48 am, Thomas Broyer <t.bro...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages