Hi, I am a new user of wicket and new member of this list.Actually this is my first post to this mailing list.
I am trying to make Wicket/Spring/Junit/Maven combo work. To make life more interesting, I have multi module project and one module (WebApp) depends upon DAL module. I followed the tutorial at http://comsysto.wordpress.com/2010/06/04/test-driven-development-with-apache-wicket-and-spring-framework/ and it works - at least in eclipse. I have imported the project in eclipse using m2eclipse/import existing maven file. All the unit tests pass when executed in eclipse. However when I try to test using maven command line, tests do fail. I have no idea why - as same tests run in eclipse. To make sure, I have created a new workspace, imported the projects again, and all tests still pass in eclipse. Failing point is clear, spring is not auto wiring the application as mentioned in above post. As a result wicket tester fails with null pointer exception. As a last resort I added printlns for classpath. In eclipse, I do see all the expected entries. Same test when executed in maven, just prints /tmp/surefirebooter8162555418175145722.jar. Not sure if maven/surefire is combining all jars in one jar and that's causing problem. Any help is greatly appreciated. I can include code also, but not sure what's the protocol here. Regards, - Niranjan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org