I've been getting an InvocationTargetException while parsing my jocl file, but the error message never contains where the real problem occurs.Other reasons given explain why the error is misleading. But for the moment, make sure that the commons-collections JAR file is in the path as well.
…
1) The commons-pool package uses the commons-collections, but does not document that requirement in any of its documentation.
I encountered this running junit from an ant build, trying to get around a LinkageError problem by selectively adding JAR files to the classpath for testing. Turns out my version of ant might have been hosed, too, in some way, but that's another issue.
Posted by ronlusk at January 6, 2005 11:17 AM