Hi, I'm using ant to run <cactifywar> and <cactus>, testing a cactified WAR file in the Orion2.x app server. I'm getting the above error. The class org.w3c.dom.Node is in the xml-apis.jar file, which I have in my ant/lib jar, and which I have also included in the classpath of my taskdef for the cactus tasks. This jar is used in the output of my test results into XML format, and i'm getting no XML file produced, so I can't get any clues regarding why my tests are failing. I have obviously failed to include the jar on a classpath somewhere. Can anyone tell me where? Here's the stack trace:
[cactus] java.lang.NoClassDefFoundError: org.w3c.dom.Node [cactus] java.lang.Class java.lang.Class.forName0(java.lang.String, boolean, java.lang.ClassLoader) [cactus] native code [cactus] java.lang.Class java.lang.Class.forName(java.lang.String) [cactus] Class.java:120 [cactus] org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createForma tter(java.lang.ClassLoader) [cactus] FormatterElement.java:236 [cactus] org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createForma tter() [cactus] FormatterElement.java:220 [cactus] void org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndStoreFormatter(java.lang.String) [cactus] JUnitTestRunner.java:586 [cactus] void org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(java.lang.String[]) [cactus] JUnitTestRunner.java:531 [cactus] Exception in thread main Many Thanks, Paul Green Developer, JTU, Office for National Statistics Tel (01633) 812524 Mobile (07720) 324594 Paul's pointless fact of the week: Within minutes of delivering a speech on road safety, in 1957, Prince Philip crashed his car. For the latest data on the economy and society consult National Statistics at http://www.statistics.gov.uk ********************************************************************** Please Note: Incoming and outgoing email messages are routinely monitored for compliance with our policy on the use of electronic communications ********************************************************************** Legal Disclaimer : Any views expressed by the sender of this message are not necessarily those of the Office for National Statistics ********************************************************************** The original of this email was scanned for viruses by the Government Secure Intranet (GSi) virus scanning service supplied exclusively by Energis in partnership with MessageLabs. On leaving the GSi this email was certified virus-free --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
