I'm using the following annotation in the test class:
@ContextConfiguration(locations={"classpath:test-context.xml"}) 
@RunWith(SpringJUnit4ClassRunner.class)




newton.dave wrote:
> 
> cmartin81 wrote:
>> I want to test my struts actions, but I keep getting this
>> ClassNotFoundException all the time. 
>> The problem is that I’ve got a springbean inside the validators.xml. (If
>> I
>> leave out the springbean in the validators.xml it will run successfully.)
> 
> How are you initializing the Spring container?
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
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-tp24862185p24862400.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to