You are viewing a plain text version of this content. The canonical link for it is here.
Posted to surefire-users@maven.apache.org by Ramon Medel <fr...@gmail.com> on 2010/06/07 08:54:36 UTC

Problems with Spring

Hi, i'm having a problem very weird. I have a test with
SpringJUnit4ClassRunner. I have an injection dao element (@Resource).
I have my own library repository. Junit library is upload with my own
groupId (com.enterprise) and here is the problem. If i use this library,
test fails because injection is never done (NullException) but if i use
junit:junit from central repository, test works!!!!!

I can't identify where the problem is, but i think that is in surefire


thanks a lot for your help