Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 42428 invoked from network); 25 Jan 2008 07:02:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2008 07:02:15 -0000 Received: (qmail 98172 invoked by uid 500); 25 Jan 2008 07:02:03 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 97958 invoked by uid 500); 25 Jan 2008 07:02:02 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 97947 invoked by uid 99); 25 Jan 2008 07:02:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2008 23:02:02 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anluoma@gmail.com designates 72.14.252.156 as permitted sender) Received: from [72.14.252.156] (HELO po-out-1718.google.com) (72.14.252.156) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2008 07:01:34 +0000 Received: by po-out-1718.google.com with SMTP id c31so956711poi.0 for ; Thu, 24 Jan 2008 23:01:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=SSjixopjhMZ1CkCoclIN/jO4WPDalUu1KCmvLLs5HTg=; b=MKEt9u7IcFho0Hw5w0uWaQnnwtVWW3Ixquqn5/RSH+6hffPDh4oTSd88VpFj7Ur6bwe8OQIAh/CZq4vUa6eQ2CO881WmqkYuByjbDj6peR3LFnfvMDTLUEyhhyMkE+gbC0lynBjLVm9p5fMOTyNP+drkqJp8675RitlIMnIyEL0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=B7YnDUjm03evKTRs7drjjsmd0KEGH7n7wmVWBrtQdsx+juJ1YCXV9XXNe5ZdYJlwBTC60XZ9wQ2gjStc4G62lN1p1uDs3O17V2gSwH6QF2c+lM13pvS/5XpwDzXyCCBL2TD0mfPNB7iaXNM80U+lsbPlkU7CU20lZUZn4iFkCmE= Received: by 10.141.23.7 with SMTP id a7mr1193789rvj.5.1201244500788; Thu, 24 Jan 2008 23:01:40 -0800 (PST) Received: by 10.141.69.20 with HTTP; Thu, 24 Jan 2008 23:01:40 -0800 (PST) Message-ID: <754a11be0801242301r661916e4xc2f5afa8cd889604@mail.gmail.com> Date: Fri, 25 Jan 2008 09:01:40 +0200 From: "Antti Luoma" To: "Ant Users List" Subject: Re: JUNIT testing in WSAD In-Reply-To: <15072631.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16208_12512782.1201244500777" References: <15072631.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_16208_12512782.1201244500777 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, You are obiously missing the class com/ibm/crypto/provider/IBMJCA from classpath. You need some classed from ibm wsad runtime components to be in your classpath when you run this junit task. -antt- 2008/1/24, Mevitha : > > > I am trying to run a junit test using ANT in WSAD > I am getting the following error: > Running com.lxnx.ols.ldc.answerset.model.AsetStatusEvaluatorTest > [junit] java.lang.NoClassDefFoundError: > com/ibm/crypto/provider/IBMJCA (wrong name: > org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner) > [junit] at java.lang.ClassLoader.defineClass0(Native Method) > [junit] at java.lang.ClassLoader.defineClass(ClassLoader.java:703) > [junit] at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:133) > [junit] at > java.net.URLClassLoader.defineClass(URLClassLoader.java:320) > [junit] at > java.net.URLClassLoader.access$400(URLClassLoader.java:93) > [junit] at > java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:678) > [junit] at java.security.AccessController.doPrivileged(Native > Method) > [junit] at > java.net.URLClassLoader.findClass(URLClassLoader.java:239) > [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:516) > [junit] at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:460) > [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:448) > [junit] Exception in thread "main" > > Please let me know what is wrong here.. > > > > > -- > View this message in context: > http://www.nabble.com/JUNIT-testing-in-WSAD-tp15072631p15072631.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > ------=_Part_16208_12512782.1201244500777--