struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaredtims <>
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/] 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:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message