Hi you said you use
@ContextConfiguration(locations={"classpath:test-context.xml"}).
is there only one configuration file for all classes? if so, maybe a
classpath problem, for some project environment configuration, the classpath
is a little complex (I met this problem in my first maven project), may be
you can try "classpath*:**/*context" or something. in spring, classpath is a
little different with classpath*.Hope this can help. BTW, i had met the classpath problem under *Glassfish* server, i have to use classpath*:xxx, classpath:xxx doesn't work. On Wed, Aug 26, 2009 at 15:59, cmartin81 <[email protected]> wrote: > > Anyone who can help me? > -- > View this message in context: > http://www.nabble.com/Problem-testing-my-action-when-I%E2%80%99ve-got-a-springbean-inside-the-validators.xml-tp24862185p25148306.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- ********************************************* Xie Dongming MAIL(Gtalk):[email protected] Mobie:+86-15071342225 ********************************************* --------------------------------------------------------------------- 俺终身奋斗的最低革命纲领:农妇--山泉--有点儿田

