Problem running application GWT 2.0 with GWT Eclipse plugin

11 views
Skip to first unread message

mlopez

unread,
Jan 11, 2010, 8:02:52 AM1/11/10
to Google Web Toolkit
After migrate my application from GWT 1.7 to 2.0, when I try to run my
web application from Eclipse IDE (with GWT plugin installed), using
the built-in Jetty embedded web server, through a GWT plugin for
Eclipse run configuration, and with Firefox plugin installed in the
web browser, when the application makes a call to any RPC method of
this module or an inherited module I get the next error:

Cannot find resource 'com/xxx/architecture/commons/gwt/web/client/yyy/
yyyRPCService' in the public path of module 'xxxcommonsgwt'

I don't know the reason for this error, can anyone help me?
Thanks.

Jason Parekh

unread,
Jan 11, 2010, 11:42:43 AM1/11/10
to google-we...@googlegroups.com
Let's try some simple things first. Could you try deleting your old
launch configuration(s) and then Run As > Web App again?

Could you describe your modules a bit more (which ones are involved,
which have the RPC services, etc.)?

jason

> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-we...@googlegroups.com.
> To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>

mlopez

unread,
Jan 15, 2010, 7:30:41 AM1/15/10
to Google Web Toolkit, jason...@gmail.com, Marcos López Barbeito

Hello Jason,

I have tried to delete my old launch configuration and then Run As ->
Web application for my GWT project but the result is the same, in the
moment that the application calls to any RPC service throws the error:


Cannot find resource 'com/xxx/architecture/commons/gwt/web/client/yyy/
yyyRPCService' in the public path of module 'xxxcommonsgwt'

I have detected another posible problem when I execute the Run As ->
Web application, in the Development mode tab view of Eclipse doesn't
show any URL suggestion for try it in the web browser, why could
success this?


My module gwt.xml file, is this one:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module SYSTEM
"http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/
src/gwt-module.dtd">
<module>
<inherits
name='com.xxx.architecture.commons.gwt.web.ItxCommonsGwt' />
<inherits
name='com.xxx.compras.comunes.gwt.precompras.web.CVPComunesPreCompras' /
>

<source path='client' />
<source path='layout' />
<source path='naming' />
<source path='public' />
<source path='utils'>
<include name='**/css/**' />
</source>
<source path='view' />
<source path='widgets' />

<entry-point class='com.xxx.web.client.MyApp'/>

<set-property name='user.agent' value='ie6,gecko1_8' />

<stylesheet src="css/prearticle-general.css" />
</module>

and both MyApp module as ItxCommonsGwt and CVPComunesPreCompras
modules have RPC services, and whatever the call to any RPC method
throws the same exception that I said before:

com.google.gwt.user.client.rpc.StatusCodeException: Cannot find


resource 'com/xxx/architecture/commons/gwt/web/client/yyy/
yyyRPCService' in the public path of module 'xxxcommonsgwt'

Thank you very much for your attention.
Marcos Lopez.

Sorinel C

unread,
Jan 15, 2010, 4:57:10 PM1/15/10
to Google Web Toolkit
1. Can you check to clean up your environment like is explained here?
http://ui-programming.blogspot.com/2009/12/update-your-application-to-gwt-20.html

2. If you still have problems after step 1, then check out the java
class that you get error for (maybe you use some external unsupported
classes by GWT).

Cheers!

Reply all
Reply to author
Forward
0 new messages