There is some other version of xerces in your classpath?
Kind Regards,
On 2/23/07, Siegmann Daniel, NY <[EMAIL PROTECTED]> wrote:
I am trying to convert a project from Maven1 to Maven2. Should be simple,
but I am getting a ClassNotFoundException on the following line in my code
when running JUnit tests through Maven:
XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser")
This class is in xerces-2.4.0.jar, I have verified. This is listed as a
dependency, and the -X option confirms it should be on the classpath. I
built the eclipse files and ran the test, no problem - I had to remove
some
nested directories listed under resources, but this shouldn't have any
effect on class loading.
Any ideas what could be causing this problem? I don't even know how to
debug
this. :(
--
Daniel Siegmann
FJA-US, Inc.
512 Seventh Ave., New York, NY 10018
(212) 840-2618 ext. 139
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Marcos Silva Pereira
recife - pe
[EMAIL PROTECTED]
skype: marcos.silva.pereira
http://blastemica.blogspot.com