From: Steve F. <sfi...@pc...> - 2005-03-31 16:14:00
|
federica- the wdk does not need the CLASSPATH to be set. the build takes care of that. try emptying your CLASSPATH steve fed...@bi... wrote: >Hi! It's Federica here, I wrote you in the past! >I'm fighting with the wdk model (WDK 1.2)! When I run this command: >wdkXml -model toyModel > >it gives me this java class error: >.Exception in thread "main" java.lang.NoSuchMethodError: >org.apache.xerces.parser >s.XML11Configuration.addCommonComponent(Lorg/apache/xerces/xni/parser/XMLCompone >nt;)V > at >org.apache.xerces.parsers.XIncludeParserConfiguration.<init>(Unknown >Source) > at >org.apache.xerces.parsers.XIncludeParserConfiguration.<init>(Unknown >Source) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >Method) > at >sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct >orAccessorImpl.java:39) > at >sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC >onstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:274) > at java.lang.Class.newInstance0(Class.java:308) > at java.lang.Class.newInstance(Class.java:261) > at >org.apache.xerces.util.ObjectFactory.newInstance(ObjectFactory.java:3 > 07) > at >org.apache.xerces.util.ObjectFactory.createObject(ObjectFactory.java: > 177) > at >org.apache.xerces.util.ObjectFactory.createObject(ObjectFactory.java: > 137) > at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:140) > at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:125) > at >org.apache.xerces.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:102) > at >org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFac > toryImpl.java:95) > at >com.thaiopensource.xml.sax.Jaxp11XMLReaderCreator.createXMLReader(Unk > nown Source) > at >com.thaiopensource.validate.auto.AutoSchemaReader.createSchema(Unknow > n Source) > at com.thaiopensource.validate.ValidationDriver.loadSchema(Unknown >Sourc e) > at >org.gusdb.wdk.model.implementation.ModelXmlParser.validModelFile(Mode > lXmlParser.java:184) > at >org.gusdb.wdk.model.implementation.ModelXmlParser.parseXmlFile(ModelX > mlParser.java:71) > at >org.gusdb.wdk.model.implementation.ModelXmlParser.main(ModelXmlParser > .java:412) > >I think my classpath is correct. In it I specified the path of >xercesImpl.jar that should be the archive of my class. >Can anyone help me? >Thanks >Federica > > > >------------------------------------------------------- >This SF.net email is sponsored by Demarc: >A global provider of Threat Management Solutions. >Download our HomeAdmin security software for free today! >http://www.demarc.com/Info/Sentarus/hamr30 >_______________________________________________ >Gusdev-gusdev mailing list >Gus...@li... >https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > |