After performing a clean install of Eclipse, GAE 1.2.6, GWT 2 RC1, and the new plugin, I'm getting the same issue. When I create a new GAE+GWT project with the plugin and try to run it from dev mode in firefox, I get the following error:
[ERROR] Failed to load module 'test' from user agent 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)' at riley_dell1:1609 com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) ... When I deploy the app to appspot, it works perfectly. Argh! Thanks for posting issue 4274, Charlie. For me, removing the rename-to attribute from test.gwt.xml doesn't seem to change any behavior. On Nov 25, 7:01 am, Charlie M <[email protected]> wrote: > Hi have exactly the same experince. > > I have followed it through with a debugger. Whats happening is for > whatever reason its assuming the module name includes the package > path. This is the default unless you override it with the rename-to > attribute in the module config. Since its just using the module name > not the full package path, when it tries to convert it to a path > relative to the class path it won't work.So it ends up looking for the > module in the default package not the one you are actually using. > > For me removing the rename to and recompiling works, but it breaks the > RPCs since they uses the module name as the root of their serverlets > url. > > Did you open an issue on this? > > Charlie M > > On Nov 20, 8:58 am, cromoteca <[email protected]> wrote: > > > > > Hi, > > > yesterday I installed GWT 2.0 RC1 and it seems to work randomly. > > Before opening an issue, I'd like to know if I'm the only one to > > experience it. I was writing an application with 1.7 and I just > > replaced the GWT files without any change of code. > > > When I run the new dev mode, everything starts as normal. I browse > > tohttp://meshcms.dev:8887/meshcms/resources/host_page.mfm?mode=file_man... > > (mfm is mapped to FreeMarker, meshcms.dev points to localhost). > > > In the development mode window, two elements are marked in red: > > 00:01:48,887 [INFO] Connection received from 127.0.0.1:50316 > > 00:01:48,995 [ERROR] Failed to loadmodule'meshcms' from user agent > > 'Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:1.9.1.5) Gecko/ > > 20091102 Firefox/3.5.5' at 127.0.0.1:50316 > > > In the host_page.mfm tab there is another red line: > > 00:01:48,995 [ERROR] Unable to find 'meshcms.gwt.xml' on your > > classpath; could be a typo, or maybe you forgot to include a classpath > > entry for source? > > > There is no other error, even in the IDE. > > > My setup is: > > Windows 7 64bit > > NetBeans 6.7 without GWT plugin (just an Ant task that launches dev > > mode) > > Firefox 3.5.5 > > IE8 > > > I just have to restart dev mode until it works. It seems to work > > randomly, but when it works the application runs perfectly until I > > close dev mode. > > > My gwt.xml file is com.cromoteca.meshcms.Client.gwt.xml and contains: > > > <modulerename-to="meshcms"> > > <source path="client"/> > > > <inherits name="com.google.gwt.user.User"/> > > <inherits name="com.google.gwt.i18n.I18N"/> > > <inherits name="com.google.gwt.user.theme.chrome.Chrome"/> > > <inherits name="com.allen_sauer.gwt.dnd.gwt-dnd"/> > > > <entry-point class="com.cromoteca.meshcms.client.core.Client"/> > > > <stylesheet src="resources/client.css"/> > > > <set-property name="user.agent" value="ie6,gecko1_8" /> > > </module> > > > So why is dev mode searching for meshcms.gwt.xml? > > > My Ant task is: > > > <target name="hosted-mode-run" depends="compile"> > > <webproject1:java classname="com.google.gwt.dev.DevMode"> > > <customize> > > <jvmarg value="-Xss16M"/> > > <jvmarg value="-Xmx256M"/> > > <jvmarg value="-Dfile.encoding=utf-8"/> > > <arg value="-war"/> > > <arg value="build/web"/> > > <arg value="-port"/> > > <arg value="8887"/> > > <arg value="-portHosted"/> > > <arg value="9997"/> > > <arg value="-startupUrl"/> > > <arg value="index.html"/> > > <arg value="com.cromoteca.meshcms.Client"/> > > </customize> > > </webproject1:java> > > </target> -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
