From: <fed...@bi...> - 2005-04-05 13:38:04
|
Hi everyone! Steve, I empty my classpath but it doesn't work! In my $GUS_HOME/lib/java directory there are these jars: biojava.jar commons-collections.jar commons-pool-1.1.jar jing-20030619.jar oracle-classes12.jar provaClasse.java WDK-Controller.jar xml-apis.jar CBIL-CSP.jar commons-dbcp-1.1.jar GUS-GOPredict.jar jsp-api-2.0.jar pager-taglib.jar servlet-api-2.4.jar WDK-Model.jar commons-beanutils.jar commons-digester-1.5.jar GUS-Model.jar jstl.jar PerlTools-1.2.jar standard.jar wraptag.jar commons-cli-1.0.jar commons-logging-api.jar GUS-ObjRelJ.jar ojdbc14_g.jar provaClasse.class struts-1.1.jar xercesImpl.jar Do you think it could be a problem of xercesImpl.jar version? Thanks, Federica > federica- > > 1.4 is required. > > i believe the problem is that there is another version of xerces in the > classpath somehow. > > did you make sure CLASSPATH was empty? > > can you do this, and send the result: > > % ls $GUS_HOME/lib/java > > steve > > fed...@bi... wrote: > >>Hi guys! >>My problem with wdkXml has not been solved yet! Thanks Steve for your >> advice! >>Now my question is: with GUS WDK 1.2 the requirements of Gus are always >>the same? >>In particular, what is the j2sdk version required? >>Thanks everyone, >>Federica >> >> >> >>>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 >>>> >>>> >>>> >>>> >> >> >> > |