Re: [Wicket-user] @SpringBean annotations

2006-02-26 Thread Eelco Hillenius
Wrong version of cglib? On 2/26/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > so that error says that something Enhancer needs is not found? so a > dependency of cglib is missing from the classpath? > > -Igor > > > > On 2/26/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > > eh it is not a class

Re: [Wicket-user] @SpringBean annotations

2006-02-26 Thread Igor Vaynberg
so that error says that something Enhancer needs is not found? so a dependency of cglib is missing from the classpath?-IgorOn 2/26/06, Johan Compagner <[EMAIL PROTECTED]> wrote:eh it is not a class not found exception, those are easy fix. No it is the most annoying error you can get in a java env

Re: [Wicket-user] @SpringBean annotations

2006-02-26 Thread Johan Compagner
eh it is not a class not found exception, those are easy fix. No it is the most annoying error you can get in a java environment:java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer the NoClassDefFoundErrorSo cglib is found. But what that one wants is not found.Why

Re: [Wicket-user] @SpringBean annotations

2006-02-22 Thread Mark Derricutt
On 2/23/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: So how about just including cglib as a dependency this time?I already HAVE cglib 2.1.3 on the classpath as I'm using Hibernate - and thats what is confusing me about the class not found exception.

Re: [Wicket-user] @SpringBean annotations

2006-02-22 Thread Igor Vaynberg
it is in the pom.xmlso it is a dependency-IgorOn 2/22/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote:So how about just including cglib as a dependency this time?Eelco On 2/22/06, Mark Derricutt <[EMAIL PROTECTED]> wrote:> On 2/23/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > cglib is only used t

Re: [Wicket-user] @SpringBean annotations

2006-02-22 Thread Eelco Hillenius
So how about just including cglib as a dependency this time? Eelco On 2/22/06, Mark Derricutt <[EMAIL PROTECTED]> wrote: > On 2/23/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > cglib is only used to proxy dependencies which are not interfaces. is this > the case with the dependency that is ca

Re: [Wicket-user] @SpringBean annotations

2006-02-22 Thread Mark Derricutt
On 2/23/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: cglib is only used to proxy dependencies which are not interfaces. is this the case with the dependency that is causing your problem?There were 4 injected dependecies on that class - 2 interfaces and 2 classes, and one inner class. I removed the

Re: [Wicket-user] @SpringBean annotations

2006-02-22 Thread Igor Vaynberg
cglib is only used to proxy dependencies which are not interfaces. is this the case with the dependency that is causing your problem?-IgorOn 2/22/06, Mark Derricutt <[EMAIL PROTECTED]> wrote: Hey all,I just started playing with wicket-spring and wicket-spring-annot to move my spring code away from

[Wicket-user] @SpringBean annotations

2006-02-22 Thread Mark Derricutt
Hey all,I just started playing with wicket-spring and wicket-spring-annot to move my spring code away from my Application subclass.I'm using the SpringWebApplicationFactory to load my application out of my spring config, and my Application extends AnnotSpringWebApplication. I have a page thats got