ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antti Luoma" <anlu...@gmail.com>
Subject Re: JUNIT testing in WSAD
Date Fri, 25 Jan 2008 07:01:40 GMT
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 <mevithamathew@gmail.com>:
>
>
> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message