eclipse and GWT code runnig in hosted mode

21 views
Skip to first unread message

Mansour

unread,
Jul 4, 2007, 8:58:18 PM7/4/07
to Google-We...@googlegroups.com
I have been workin gfor few days with eclipse and running the code for
GWT and debugging it with no problem. However, I needed to use classes
from XML and I decide to import com.google.gwt.xml.client.XMLParser.
Since then I have been getting this error in the GWT shell

Unable to find type 'com.googlelipse.test.client.MyModule'
Hint: Previous compiler errors may have made this type unavailable
Hint: Check the inheritance chain from your module; it may not be
inheriting a required module or a module may not be adding its source
path entries properly


And on eclipse console I am getting this:

Exception in thread "Timer-0" java.lang.AbstractMethodError:
org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:373)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:127)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:94)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:663)

So, I added <inherits name='com.google.gwt.xml.client.XMLParser'/> to
MyModel.gwt.xml

And now I am getting in the GWT browser:

Cannot find resource 'MyModule.html' in the public path of module
'com.googlelipse.test.MyModule'

And on the GWT shell:
The development shell servlet received a request for 'MyModule.html' in
module 'com.googlelipse.test.MyModule'
Loading module 'com.googlelipse.test.MyModule'
Module location:
file:/home/mansour/workspace/GWT_Hello_world/src/com/googlelipse/test/MyModule.gwt.xml
Loading inherited module 'com.google.gwt.user.User'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-user.jar!/com/google/gwt/user/User.gwt.xml
Loading inherited module 'com.google.gwt.core.Core'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-user.jar!/com/google/gwt/core/Core.gwt.xml
Loading inherited module
'com.google.gwt.dev.jjs.intrinsic.Intrinsic'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-dev-linux.jar!/com/google/gwt/dev/jjs/intrinsic/Intrinsic.gwt.xml
Loading inherited module 'com.google.gwt.emul.Emulation'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-user.jar!/com/google/gwt/emul/Emulation.gwt.xml
Loading inherited module 'com.google.gwt.user.RemoteService'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-user.jar!/com/google/gwt/user/RemoteService.gwt.xml
Loading inherited module 'com.google.gwt.user.HTTPRequest'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-user.jar!/com/google/gwt/user/HTTPRequest.gwt.xml
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been
loaded and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-user.jar!/com/google/gwt/user/UserAgent.gwt.xml
Loading inherited module 'com.google.gwt.user.DOM'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-user.jar!/com/google/gwt/user/DOM.gwt.xml
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded
and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been
loaded and will be skipped
Loading inherited module 'com.google.gwt.user.HTTPRequest'
Module 'com.google.gwt.user.HTTPRequest' has already been
loaded and will be skipped
Loading inherited module 'com.google.gwt.user.History'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-user.jar!/com/google/gwt/user/History.gwt.xml
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded
and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been
loaded and will be skipped
Loading inherited module 'com.google.gwt.user.Popup'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-user.jar!/com/google/gwt/user/Popup.gwt.xml
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded
and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been
loaded and will be skipped
Loading inherited module 'com.google.gwt.user.Form'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-user.jar!/com/google/gwt/user/Form.gwt.xml
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded
and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been
loaded and will be skipped
Loading inherited module 'com.google.gwt.user.TextBox'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-user.jar!/com/google/gwt/user/TextBox.gwt.xml
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded
and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been
loaded and will be skipped
Loading inherited module 'com.google.gwt.user.Focus'
Module location:
jar:file:/opt/gwt-linux-1.3.3/gwt-user.jar!/com/google/gwt/user/Focus.gwt.xml
Loading inherited module 'com.google.gwt.core.Core'
Module 'com.google.gwt.core.Core' has already been loaded
and will be skipped
Loading inherited module 'com.google.gwt.user.UserAgent'
Module 'com.google.gwt.user.UserAgent' has already been
loaded and will be skipped
Loading inherited module 'com.google.gwt.xml.client.XMLParser'
Unable to find 'com/google/gwt/xml/client/XMLParser.gwt.xml' on
your classpath; could be a typo, or maybe you forgot to include a
classpath entry for source?
Line 8: Unexpected exception while processing element 'inherits'
Failure while parsing XML

and on eclipse Console:

Exception in thread "Timer-0" java.lang.AbstractMethodError:
org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:373)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:127)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:94)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:663)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:709)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)

What's going on ?

Reply all
Reply to author
Forward
0 new messages