Skip to main content



      Home
Home » Newcomers » Newcomers » Cannot get junit tests to run with build script
Cannot get junit tests to run with build script [message #257020] Fri, 23 May 2008 12:43
Eclipse UserFriend
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.AuthenticationFailedException”’s
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??
Previous Topic:To metamodels into one
Next Topic:file download dialog on open, save and click on file tab of an PHP file, why?
Goto Forum:
  


Current Time: Sat May 24 04:31:37 EDT 2025

Powered by FUDForum. Page generated in 0.07379 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top