Spring test module has lots of benefits. Bu some times it may be a bit confusing.
When Using spring test module it mostly produces only one exception for all exceptions. As below
java.lang.NoSuchMethodError:
org.junit.runner.notification.RunNotifier.testAborted(Lorg/junit/runner/Description;Ljava lang/Throwable;)V
exception masking all others and getting debug process harder for me. Finally I can figure out the problem. If you use spring 2.5.x series you have to use Junit 4.4 . If you use 3.0 then Junit 4.7 will suits for u.
Hiç yorum yok:
Yorum Gönder