On Fri, Mar 2, 2012 at 11:16 AM, Douglas Ferguson <the...@gmail.com> wrote: > I'm getting classloader issues. I get this from eclipse: > > The type org.apache.wicket.injection.ComponentInjector cannot be resolved. It > is indirectly referenced from required .class files > VHConnectApplication.java > > It seems like ComponentInjector is not in the 1.5 ioc jar, and > SpringComponentInjector extends ComponentInjector > > These are my dependencies > > <!-- wicket --> > > <dependency> > <groupId>org.apache.wicket</groupId> > <artifactId>wicket</artifactId> > <version>${wicket.version}</version> > <type>pom</type> > </dependency> > <dependency> > <groupId>org.apache.wicket</groupId> > <artifactId>wicket-datetime</artifactId> > <version>${wicket.version}</version> > </dependency> > > <dependency> > <groupId>org.apache.wicket</groupId> > <artifactId>wicket-spring-annot</artifactId> > <version>1.3.7</version>
Why you have 1.3.x dependency for project based on 1.5.x ? > </dependency> > > <dependency> > <groupId>org.apache.wicket</groupId> > <artifactId>wicket-ioc</artifactId> > <version>${wicket.version}</version> > </dependency> > > <dependency> > <groupId>org.apache.wicket</groupId> > <artifactId>wicket-spring</artifactId> > <version>${wicket.version}</version> > </dependency> > > <!-- wicket --> > > > > > > > > On Mar 2, 2012, at 2:54 AM, Martin Grigorov wrote: > >> The same >> >> On Fri, Mar 2, 2012 at 10:49 AM, Douglas Ferguson <the...@gmail.com> wrote: >>> I just pulled in SpringComponentInjector and it seems to be subclassing a >>> class that is not longer in wicket-ioc. >>> >>> What's the correct way to using Spring injection with 1.5? >>> >>> Douglas >> >> >> >> -- >> Martin Grigorov >> jWeekend >> Training, Consulting, Development >> http://jWeekend.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com