commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@javaclientcookbook.net
Subject [configuration] Config + Digester NoSuchMethodException
Date Mon, 28 Jan 2008 17:31:10 GMT
This is only happening on one box and I can't figure out why because  
every other box with (seemingly) the same jar files is working just  
fine.

org.apache.commons.configuration.ConfigurationException: SAX Exception caught
	at  
org.apache.commons.configuration.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:169)
    [my own code]
Caused by: java.lang.NoSuchMethodException: No such accessible method:  
addConfiguration() on object:  
org.apache.commons.configuration.ConfigurationFactory$ConfigurationBuilder
	at  
org.apache.commons.digester.Digester.createSAXException(Digester.java:2792)
	at  
org.apache.commons.digester.Digester.createSAXException(Digester.java:2818)
	at org.apache.commons.digester.Digester.endElement(Digester.java:1070)
	at  
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
	at  
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
	at  
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872)
	at  
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
	at  
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
	at  
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
	at  
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
	at  
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
	at  
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
	at org.apache.commons.digester.Digester.parse(Digester.java:1591)
	at  
org.apache.commons.configuration.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:163)
	... 11 more

Any ideas?  It still happens even if I switch versions of digester and  
config jar files, and when I tried replacing the JVM.

thanks
Joe


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message