You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by maarten roosendaal <mr...@yahoo.com> on 2008/04/03 09:28:38 UTC
StrutsTestCase issues
Hi,
We're trying to setup StrutsTestCase but we get a NullPointerException telling us that the struts-config.xml probably cannot be found.
The tests are succesfull in Eclipse but not with Maven 2
info:
Maven 2.0.7
StrutsTestCase 2.1.4-1.2-2.4
EasyMock 2.3
Surefire 2.4.2
I've tried:
* adding additionalClasspahtElements for surefire
* use the setContext directory
* added testResources
* manualy copy paste the struts-config.xml (and other resources like the web.xml) to several locations
I see in the target directory the presence of the struts-config.xml in the WEB-INF directory but for some reason no luck. We have another project that is still using Maven 1.1 and it works for them.
Any ideas, suggestions?
Thanks,
Maarten
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
Re: StrutsTestCase issues
Posted by Antonio Petrelli <an...@gmail.com>.
2008/4/3, maarten roosendaal <mr...@yahoo.com>:
>
> Any ideas, suggestions?
Contact the StrutsTestCase team:
http://strutstestcase.sourceforge.net/
Antonio