1. #1
    Ext GWT Premium Member
    Join Date
    Mar 2010
    Posts
    3
    Vote Rating
    0
    nsul is on a distinguished road

      0  

    Default upgraded to gxt 2.2.3 compile fails

    upgraded to gxt 2.2.3 compile fails


    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?

  2. #2
    Ext GWT Premium Member
    Join Date
    Mar 2010
    Posts
    3
    Vote Rating
    0
    nsul is on a distinguished road

      0  

    Default Fixed it

    Fixed it


    Fixed it myself. Thank you.

  3. #3
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    868
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    Maybe you could tell how. In case someone else has the same problem later.

  4. #4
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Probably he removed the old GWT jars from his classpath

  5. #5
    Ext GWT Premium Member
    Join Date
    Mar 2010
    Posts
    3
    Vote Rating
    0
    nsul is on a distinguished road

      0  

    Default


    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.

Similar Threads

  1. [OPEN-565] Become UNsortable after upgraded to 1.0
    By liquidsnake in forum Sencha Touch 1.x: Bugs
    Replies: 1
    Last Post: 18 Nov 2010, 11:08 AM
  2. Just Upgraded to GXT 2.1.1 from 1.2.4 and I have Problems!
    By jmhwhite2001 in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 11 Feb 2010, 8:36 AM
  3. Upgraded and now my formpanel is not rendering.
    By jalexmendez in forum Ext 3.x: Help & Discussion
    Replies: 10
    Last Post: 14 Jul 2009, 6:55 AM
  4. just upgraded to ExtJS 3.0 and got error
    By sapatel in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 28 May 2009, 10:44 AM

Thread Participants: 2