PDA

View Full Version : upgraded to gxt 2.2.3 compile fails



nsul
18 Apr 2011, 10:40 AM
Hi I recenlty upgraded from gwt1.5.3 and gxt 1.1.1 to gwt2.2.0 and gxt 2.2.3. The Dev mode works fine but when I build to run it in my local jetty the gwt compile fails and I get this error message in console:

gwtc:
[java] Loading module 'com.tiffiny.gwt.home.Home'
[java] Loading inherited module 'com.tiffiny.back.VO'
[java] Loading inherited module 'com.extjs.gxt.ui.GXT'
[java] Loading inherited module 'com.google.gwt.i18n.I18N'
[java] [ERROR] Line 31: Unexpected element 'define-configuration-property'
[java] [ERROR] Failure while parsing XML
[java] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
[java] at com.google.gwt.dev.util.xml.DefaultSchema.onUnexpectedElement(DefaultSchema.java:80)
[java] at com.google.gwt.dev.util.xml.Schema.onUnexpectedElement(Schema.java:93)
[java] at com.google.gwt.dev.util.xml.Schema.onUnexpectedElement(Schema.java:93)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:186)
[java] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
[java] at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
[java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343)
[java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
[java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
[java] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
[java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
[java] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
[java] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
[java] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
[java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:314)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
[java] at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:385)
[java] at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:243)
[java] at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:212)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)

Can anybody help me figure out?

nsul
18 Apr 2011, 12:22 PM
Fixed it myself. Thank you.

micgala
18 Apr 2011, 11:50 PM
Maybe you could tell how. In case someone else has the same problem later.

sven
18 Apr 2011, 11:54 PM
Probably he removed the old GWT jars from his classpath ;)

nsul
20 Apr 2011, 11:10 AM
Yes. I had a GWT_HOME environment variable set to old gwt and the project had new jars in classpath. Fixing the environment variable did it.
Sorry i didn't have time to explain it earlier. I didn't want others to waste time in looking into my problem so i just mentioned that I fixed it.