GWT module not loading

795 views
Skip to first unread message

Krishna

unread,
Feb 26, 2011, 3:52:31 PM2/26/11
to Google Web Toolkit
Hi All,

I am new to GWT and using the GWT eclipse plugin to run my GWT module.
I am getting the following error while running the module using Run
As> Webapplication (on an external server) option in eclipse.

I am using Eclipse 3.4 with GWT2.2.0.

Loading inherited module 'com.google.gwt.user.User'
Loading inherited module 'com.google.gwt.i18n.I18N'
[ERROR] Element 'property-provider' beginning on line 75
contains unexpected attribute 'generator'
[ERROR] Failure while parsing XML
com.google.gwt.core.ext.UnableToCompleteException: (see previous log
entries)
at
com.google.gwt.dev.util.xml.DefaultSchema.onUnexpectedAttribute(DefaultSchema.java:
72)
at
com.google.gwt.dev.util.xml.Schema.onUnexpectedAttribute(Schema.java:
80)
at
com.google.gwt.dev.util.xml.Schema.onUnexpectedAttribute(Schema.java:
80)
at com.google.gwt.dev.util.xml.ReflectiveParser
$Impl.startElement(ReflectiveParser.java:228)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:
501)


Could somebody explain whats wrong with it?

Thank you,
Krishna.

SVR

unread,
Feb 28, 2011, 10:16:21 AM2/28/11
to google-we...@googlegroups.com
Check your module gwt.xml file, or copy it here....


--
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.


Chris

unread,
Mar 16, 2011, 6:43:56 PM3/16/11
to Google Web Toolkit
> I am using Eclipse 3.4 with GWT2.2.0.
>
> Loading inherited module 'com.google.gwt.user.User'
>          Loading inherited module 'com.google.gwt.i18n.I18N'
>             [ERROR] Element 'property-provider' beginning on line 75
> contains unexpected attribute 'generator'
>             [ERROR] Failure while parsing XML
> com.google.gwt.core.ext.UnableToCompleteException: (see previous log
> entries)

I had the same problem when I upgraded to 2.2 - I resolved it by
correcting the .classpath file in eclipse. There was still an entry
for the 2.1 sdk hanging around (above the 2.2 entry). I removed those
two entries (gwt-dev and gwt-user) and the problem resolved itself...


Reply all
Reply to author
Forward
0 new messages