[Wicket-user] Issue when trying to specify Spring dependency through annotations

2007-03-07 Thread ZedroS Schwart
Hi all I've a goal, a simple one I think : using Spring through annotations in my wicket application. To do so, I tried with both the wiki and the book Pro Wicket. Each time I end up with the same error : java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Callback. Do you have any clue ? BTW,

Re: [Wicket-user] Issue when trying to specify Spring dependency through annotations

2007-03-07 Thread Igor Vaynberg
sounds like you have a bad/wrong version cglib jar on your classpath the second way is better, the way the book describes is indeed deprecated -igor On 3/7/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Hi all I've a goal, a simple one I think : using Spring through annotations in my wicket

Re: [Wicket-user] Issue when trying to specify Spring dependency through annotations

2007-03-07 Thread ZedroS Schwart
Thanks for your reply. However, I don't understand how come this issue with the cglib jar, which I don't even have in my classpath... In case it could help, here is the complete stack trace : java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Callback

Re: [Wicket-user] Issue when trying to specify Spring dependency through annotations

2007-03-07 Thread Igor Vaynberg
ah well, thats the problem. cglib is a requirement of wicket-spring. it is in the pom.xml -igor On 3/7/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Thanks for your reply. However, I don't understand how come this issue with the cglib jar, which I don't even have in my classpath... In case

Re: [Wicket-user] Issue when trying to specify Spring dependency through annotations

2007-03-07 Thread ZedroS Schwart
I just found it in between :$ Stupid me ! lol I don't use maven for the time, one framework at a time is quite enough for me currently ! lol Thanks again ZedroS On 3/7/07, Igor Vaynberg [EMAIL PROTECTED] wrote: ah well, thats the problem. cglib is a requirement of wicket-spring. it is in

Re: [Wicket-user] Issue when trying to specify Spring dependency through annotations

2007-03-07 Thread karthik Guru
BTW, I've a side question : Pro Wicket tells to extend AnnotSpringWebApplication to be able to use the annotations. The wiki just tells to add this line in the init() : addComponentInstantiationListener(new SpringComponentInjector(this)); Yes , the wicket developers are the ones that need to be

Re: [Wicket-user] Issue when trying to specify Spring dependency through annotations

2007-03-07 Thread Eelco Hillenius
Yes , the wicket developers are the ones that need to be blamed! For a user, they are a dream bunch to work with. But if you are authoring a book , its not so ;-). Tell me about it :) Eelco - Take Surveys. Earn Cash.