You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by jaredtims <ja...@yahoo.com> on 2011/10/14 21:16:17 UTC

Re: how do you test your action classes?

Can anyone confirm that the Struts2 Convention Plugin will not work with the
Struts2 jUnit Plugin?  I am attempting to unit test my actions, but I keep
getting the following error:

2011-10-14 14:15:42,380 WARN 
org.springframework.mock.web.MockServletContext.getResourcePaths:212 -
Couldn't get resource paths for class path resource [WEB-INF/content/]
java.io.FileNotFoundException: class path resource [WEB-INF/content/] cannot
be resolved to URL because it does not exist

I'd rather not have to rewrite all my action mappings into xml files just
because the jUnit Plugin doesn't handle the Convention Plugin annotations?

--
View this message in context: http://struts.1045723.n5.nabble.com/how-do-you-test-your-action-classes-tp3495971p4903701.html
Sent from the Struts - User mailing list archive at Nabble.com.

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