.gwt.xml not on your class path

89 views
Skip to first unread message

Sandeep

unread,
Jan 6, 2009, 12:55:06 AM1/6/09
to Google Web Toolkit
Hi,
I have created a GWT RPC application. It runs fine when i deploy it in
sepetrate Tomcat and when i run it using .shell command. But when i
try to run it using Run->Configuration of eclipse it gives me an error
saying that [ERROR] Unable to find 'com/sandeep/transfer/
StringReverse.gwt.xml' on your classpath; could be a typo, or maybe
you forgot to include a classpath entry for source?

What this error means?I have added the source of my project in
ClassPath for Run configuration. where else i have to add it.When we
run the application in Hosted Mode using Run configuration where does
it looks for .gwt.xml file.


Thanks

Charlie Collins

unread,
Jan 6, 2009, 8:08:37 AM1/6/09
to Google Web Toolkit
It's all right there in the message actually:

"com/sandeep/transfer/StringReverse.gwt.xml"

is not found - and that is where it is looking.

Bakulkumar

unread,
Jan 6, 2009, 12:05:08 PM1/6/09
to Google Web Toolkit
Whats your directory Structure?

if com.sandde.transfer is with in src folder, add ./src in VM
Arguments text box of Arguments Tab of run configuration.

-Bakul

On Jan 6, 12:55 am, Sandeep <sandip.pati...@gmail.com> wrote:

Sandeep

unread,
Jan 6, 2009, 11:40:58 PM1/6/09
to Google Web Toolkit, charlie.coll...@gmail.com
Hi Charlie,


Thanks for your reply.
My directory structure is as follows

---GWT-Xfer
--------src
|-----com.sandeep.transfer
|--------Public
|--------StringReverse.gwt.xml
|-----com.sandeep.transfer.client
|-----com.sandeep.transfer.client.widgets
|-----com.sandeep.transfer.server


now this com/sandeep/transfer is having this StringReverse.gwt.xml
thats why i asked where does it looks for it...may be some other place
somewhere...


Thanks
Sandeep

Sandeep

unread,
Jan 7, 2009, 12:15:49 AM1/7/09
to Google Web Toolkit
Hi all

I added the src folder in classpath of run configuration and it is
running now in Hostedmode also

Go to Run As->RunConfiguration select classpath tab
select advanced button and add your src folder in classpath-
>usrentries


Thank you all for your help
Sandeep

Charlie Collins

unread,
Jan 10, 2009, 10:52:41 AM1/10/09
to Google Web Toolkit
Yes, GWT needs the SOURCE, but I thought you already had that based on
your first message (where you said "I have added the source of my
project in
ClassPath for Run configuration.") Anyway, glad you got it working.
Reply all
Reply to author
Forward
0 new messages