1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    1
    Vote Rating
    0
    neha is on a distinguished road

      0  

    Default Error: Unable to find file GXT.gwt.xml

    Error: Unable to find file GXT.gwt.xml


    Hi,

    First of all I want to thank for creating a wonderful tool MyGWT. It has indeed helped us.
    I am glad to know about the newer version.

    But while migrating from MyGWT version 0.5.2 to extgwt-1.0-beta1, I am getting the error mentioned below. FYI, I am using NetBeans6.0 IDE with gwt4nb plugin. Please help.

    Code:
    Loading inherited module'com.extjs.gxt.GXT'
          [ERROR] Unable to find 'com/extjs/gxt/GXT.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
       [ERROR] Line 6: Unexpected exception while processing element 'inherits'
    com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
            at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:157)
            at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:143)
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:223)
            at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:242)
            at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:454)
            at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:217)
            at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:594)
            at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:777)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:748)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1453)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
            at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
            at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
            at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
            at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
            at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:295)
            at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
            at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:366)
            at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:175)
            at com.google.gwt.dev.cfg.ModuleDefLoader.load(ModuleDefLoader.java:208)
            at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:81)
            at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:753)
            at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:745)
            at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:213)
       [ERROR] Failure while parsing XML
    com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
            at com.google.gwt.dev.util.xml.DefaultSchema.onHandlerException(DefaultSchema.java:56)
            at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:65)
            at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:65)
            at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:233)
            at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:242)
            at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:454)
            at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:217)
            at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:594)
            at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:777)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:748)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1453)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
            at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
            at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
            at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
            at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
            at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:295)
            at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
            at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:366)
            at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:175)
            at com.google.gwt.dev.cfg.ModuleDefLoader.load(ModuleDefLoader.java:208)
            at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:81)
            at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:753)
            at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:745)
            at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:213)
    [ERROR] Build failed

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Sounds like you do not have the gxt.jar on your class path. Try confirming that the gxt.jar is part of your run configuration.

  3. #3
    Ext User
    Join Date
    Apr 2008
    Posts
    8
    Vote Rating
    0
    dangeruss is on a distinguished road

      0  

    Question


    In the setup.txt file, it states to add:
    Code:
    <inherits name='com.extjs.gxt.GXT'/>
    in your module xml.

    I ended up getting the above error, then browsing the .jar and using instead:
    Code:
    <inherits name='com.extjs.gxt.ui.GXT'/>
    Typo? Or did I work-around my own error?
    Last edited by dangeruss; 24 Apr 2008 at 12:41 PM. Reason: typo

  4. #4
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Yes, it is a typo and has been fixed already in SVN. Sorry about that, I should have made the connection.

Thread Participants: 2