getting module loading problem in Hosted mode with noserver option

19 views
Skip to first unread message

ping

unread,
Jun 14, 2007, 11:59:54 AM6/14/07
to Google Web Toolkit
Can anyone help me for this?

I just upgraded from gwt 1.3.3 to 1.4.10 due to IsSerizable problem.
When running on hosted mode, I am getting the following errors :
Here is my module defined for my project:

<module>
<inherits name='com.google.gwt.i18n.I18N' />
<inherits
name="ca.nanometrics.apollo.instrument.channeldata.webgateway.gwt.Instrument" /
>

<entry-point
class="ca.nanometrics.apollo.libra.web.ui.client.Libra" />

<servlet path="/rpc/liveValues"
class="ca.nanometrics.apollo.libra.web.ui.server.LiveValueQueryServlet" /
>
</module>


[TRACE] Loading module 'ca.nanometrics.apollo.libra.web.ui.Libra'
[TRACE] Module location: jar:file:/C:/subversion/apollo-libra/PingChen/
target/apollo-libra-1.0.1-SNAPSHOT-jar-sources.jar!/ca/nanometrics/
apollo/libra/web/ui/Libra.gwt.xml
Unexpected exception while processing element 'inherits'
[TRACE] Loading inherited module 'com.google.gwt.i18n.I18N'
[TRACE] Module location: jar:file:/C:/maven/repository/com/google/gwt/
gwt-user/1.4.10/gwt-user-1.4.10.jar!/com/google/gwt/i18n/I18N.gwt.xml
[ERROR] Line 2: Unexpected exception while processing element
'inherits'
java.lang.ArrayIndexOutOfBoundsException: null
at org.gjt.xpp.impl.tokenizer.Tokenizer.next(Tokenizer.java:1274)
at org.gjt.xpp.impl.pullparser.PullParser.next(PullParser.java:392)
at org.gjt.xpp.sax2.Driver.parseSubTree(Driver.java:415)
at org.gjt.xpp.sax2.Driver.parse(Driver.java:310)
at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.parse(ReflectiveParser.java:295)
[ERROR] Failure while parsing XML
[ERROR] Failure to load module
'ca.nanometrics.apollo.libra.web.ui.Libra'

Sumit Chandel

unread,
Jun 25, 2007, 1:58:04 PM6/25/07
to Google-We...@googlegroups.com
Hi ping,

It looks like the error is caused by the newline.....  XML requires /> to close singleton tags, but in the XML you posted, it looks like you've forgotten the ">".  Can you double-check that your XML is well-formed?

Hope that helps,
-Sumit Chandel
Reply all
Reply to author
Forward
0 new messages