struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaredtims <jaredt...@yahoo.com>
Subject Re: how do you test your action classes?
Date Fri, 14 Oct 2011 19:16:17 GMT
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


Mime
View raw message