without looking too closely, the most obvious thing: rename hellowmvp.gwt.xml to HelloMVP.gwt.xml
On Fri, Feb 11, 2011 at 10:36 AM, Tonté <etno...@yahoo.com> wrote: > Hello, > > I need help understanding why when I run my gwt app in development > mode it can not find my hellomvp.gwt.xml file; which is located under > myproject/src/main/resources/com/hellomvp/hellomvp.gwt.xml. The > exploded war location is hellomvp/web-inf/classes/com/hellowmvp/ > hellomvp.gwt.xml. > > It is able to find hellowmvp.gwt.xml file on the classpath when I put > it in the exploded war location: hellomvp/web-inf/classes/ > hellomvp.gwt.xml. > > I would like to know why this is the case. I really want it to find > it in the hellomvp/web-inf/classes/com/hellowmvp/ location. Does > anybody now why this is happening? > > Here is my HelloMVP.gwt.xml file: > <?xml version="1.0" encoding="UTF-8"?> > <module rename-to="HelloMVP"> > <!-- Inherit the core Web Toolkit stuff. --> > <inherits name='com.google.gwt.user.User'/> > > <!-- Inherit the default GWT style sheet. You can change --> > <!-- the theme of your GWT application by uncommenting --> > <!-- any one of the following lines. --> > <inherits name='com.google.gwt.user.theme.standard.Standard'/> > <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> --> > <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> --> > > <!-- Other module inherits --> > <inherits name="com.google.gwt.activity.Activity"/> > <inherits name="com.google.gwt.place.Place"/> > > <!-- Specify the app entry point class. --> > <entry-point class='com.hellomvp.client.HelloMVP'/> > > <!-- Use ClientFactoryImpl by default --> > <replace-with class="com.hellomvp.client.ClientFactoryImpl"> > <when-type-is class="com.hellomvp.client.ClientFactory"/> > </replace-with> > > <!-- Specify the paths for translatable code --> > <source path='client'/> > <source path='shared'/> > > </module> > > I recall that it should reference this file based off the entry point > class; which is defined as 'com.hellomvp.client.HelloMVP' in the > HelloMVP.gwt.xml file. And therefore it should be found in the > hellomvp/web-inf/classes/com/hellowmvp/ location. Is this correct? > > But what is strange is the error message below. I would think the > error would say something like this: [ERROR] Unable to find > 'com.hellomvp.HelloMVP.gwt.xml' on your classpath... > > Is this correct? > > Here is my error message: > Loading modules > HelloMVP > [ERROR] Unable to find 'HelloMVP.gwt.xml' on your classpath; > could be a typo, or maybe you forgot to include a classpath entry for > source? > [ERROR] shell failed in doSlowStartup method > > Any help with this would be greatly appreciated. > > Thank you > > Tonté > > -- > 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-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.