You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Douglas Ferguson <th...@gmail.com> on 2012/03/02 09:49:49 UTC
SpringComponentInjector
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
Re: SpringComponentInjector
Posted by Martin Grigorov <mg...@apache.org>.
Yes, Few years ago for 1.4.0
Remove it.
Check wicket-examples -> Spring project if something more is still not OK.
On Fri, Mar 2, 2012 at 11:30 AM, Douglas Ferguson <th...@gmail.com> wrote:
> That's the latest version of the annotation module. I guess it got merged into another module?
>
> On Mar 2, 2012, at 3:18 AM, Martin Grigorov wrote:
>
>> On Fri, Mar 2, 2012 at 11:16 AM, Douglas Ferguson <th...@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 <th...@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-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: SpringComponentInjector
Posted by Douglas Ferguson <th...@gmail.com>.
That's the latest version of the annotation module. I guess it got merged into another module?
On Mar 2, 2012, at 3:18 AM, Martin Grigorov wrote:
> On Fri, Mar 2, 2012 at 11:16 AM, Douglas Ferguson <th...@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 <th...@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-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: SpringComponentInjector
Posted by Martin Grigorov <mg...@apache.org>.
On Fri, Mar 2, 2012 at 11:16 AM, Douglas Ferguson <th...@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 <th...@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-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
Re: SpringComponentInjector
Posted by Douglas Ferguson <th...@gmail.com>.
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>
</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 <th...@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: SpringComponentInjector
Posted by Martin Grigorov <mg...@apache.org>.
The same
On Fri, Mar 2, 2012 at 10:49 AM, Douglas Ferguson <th...@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org