Alright, I'm at my wits' end here. I'm using the DOM APIs that are part of JDK 1.5. I've found three DOM methods so far that compile without problems, but barf a NoSuchMethodError at run in unit tests (via standard 'maven test'). The three perps are:

org.w3c.dom.Node.getTextContent()
org.w3c.dom.Text.getWholeText()
javax.xml.parsers.DocumentBuilderFactor.setFeature(String, boolean)

I can work around the first two by calling Node.getNodeValue(), but I can't figure out another way to do the setFeature() call.

I've run maven -X to view the classpaths, and AFAIK, Maven will use the same classpath for both the 'java' and the 'test' goals. Even if it doesn't, these three calls are part of the JDK, so they should be present regardless. Any ideas why these will compile but not run?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to