Cannot get junit tests to run with build script [message #257020] |
Fri, 23 May 2008 12:43 |
Eclipse User |
|
|
|
Originally posted by: teresni.ucia.gov
I have a series of junit tests that run fine when I launch a test directly
via
eclipse (by right-clicking test file and selecting to run as junit test).
But if I try to run ant directly via command prompt or launch a build.xml
target from within eclipse, I get the same error for all of the tests. It
looks
like the following:
Error 'Unexpected failure during bean definition parsing in resource URL
[file:spring-misc-junit.xml] at: Bean 'mailSender'; nested exception is
java.lang.SecurityException: class
javax.mail.AuthenticationFailedExceptions
signer information does not match signer information of other classes in
the same package.
I thought perhaps the mail.jar file existed in multiple directories on the
classpath and thus caused confusion, but it only exists in 1 directory.
Does anyone have any idea what else could cause this problem??
|
|
|
Powered by
FUDForum. Page generated in 0.07631 seconds