Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Problem loading SimplicityResources with latest nightly build

    I'm inheriting the Simplicity skin in my project.gwt.xml like this.
    Code:
    <inherits name="com.smartclient.theme.simplicity.SimplicityResources"/>
    It was working fine with the 2010-12-15 build, but I just got the latest nightly and ran into this error when starting the app.
    Code:
    Loading modules
       com.islandpacific.gui.IPGui
          Loading inherited module 'com.smartclient.theme.simplicity.SimplicityResources'
             [ERROR] Unable to find 'com/smartclient/theme/simplicity/SimplicityResources.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
          [ERROR] Line 31: 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:248)
    	at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:413)
    	at sun.reflect.GeneratedMethodAccessor3.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:230)
    	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274)
    	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
    	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
    	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331)
    	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:402)
    	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:266)
    	at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:178)
    	at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:294)
    	at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:147)
    	at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:973)
    	at com.google.gwt.dev.DevMode.loadModule(DevMode.java:482)
    	at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:372)
    	at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1081)
    	at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:795)
    	at com.google.gwt.dev.DevMode.main(DevMode.java:282)
          [ERROR] Failure while parsing XML

    #2
    It's been moved to smartgwt-skins.jar

    Comment


      #3
      What should my inherits tag look like now?

      Comment


        #4
        The same, just add smartgwt-skins.jar to your classpath.

        Comment


          #5
          Nevermind. I got it now. Like the message says, I needed to add smartgwt-skins.jar to my class path.

          Comment

          Working...
          X