Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-05 Thread Niranjan Rao
Hi folks, As everyone mentioned earlier this is/was not wicket problem. Problem is still not solved, but after lot of println statements, I have concluded that there is something wrong in my spring setup or the way maven/surefire sets up the classpath. The required files do exists at given

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-04 Thread Bruno Borges
I'm working on this right now and I found this problem: java.lang.IllegalStateException: the application key does not seem to be set properly or this method is called before WicketServlet is set, which leads to the wrong behavior at

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-04 Thread Niranjan Rao
Unfortunately, can not help you much here. I followed the exact steps in the tutorial and never got this error. Regards, - Niranjan On Mon, 2011-07-04 at 13:51 -0300, Bruno Borges wrote: I'm working on this right now and I found this problem: java.lang.IllegalStateException: the application

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-03 Thread Loc Nguyen
If you can attach a zip of the project someone can take a quick look. Or maybe provide your pom.xml and the stacktrace as a starting point? -Loc On Sat, Jul 2, 2011 at 10:09 PM, Niranjan Rao nhr...@gmail.com (mailto:nhr...@gmail.com) wrote: Hi, I am a new user of wicket and new member

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-03 Thread Harald Wellmann
Without a stacktrace or more details about your setup, I can only guess... Most likely it's not a Wicket problem. I'd say your applicationContext.xml is in the wrong place where Maven can't see it, and Eclipse just happens to see it because m2eclipse cannot map Maven classpaths 1:1 to

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-03 Thread Igor Vaynberg
yep. thats probably the cause. to elaborate a little more: eclipse does not separate between a test class path and normal class path, while maven does. -igor On Sun, Jul 3, 2011 at 3:01 AM, Harald Wellmann harald.wellm...@gmx.de wrote: Without a stacktrace or more details about your setup, I

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-03 Thread Niranjan Rao
Sorry for the delay in the response folks and thanks for the help. My gut feeling is also same - differences of classpaths. That's why I actually added println statements in the code to see what classpath code is seeing. I am working on isolated test case that I can send to this DL. Should be

Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-02 Thread Niranjan Rao
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