Again, org.apache.wicket.IClusterable is in the -util bundle but the webapp
looks for it in the -core bundle.
There's not workaroiund for this.

I think that the wicket package layout should be changed now that -util and
-request bundles have been detached from -core.

On Mon, Apr 25, 2011 at 2:51 PM, Daniele Dellafiore <[email protected]>wrote:

> I've "solved" this removing
> org.apache.wicket.request
>
> from Export-Package in wicket.core bundle jars.
> This works only because I'm not using request.ClientInfo class.
> Probablhy during runtime there will be other problems.
>
> From the OSGI perspective, having duplicate packages exported by different
> bundles is wrong. Should I fill a issue for this?
>
>
> On Mon, Apr 25, 2011 at 1:01 PM, Daniele Dellafiore <[email protected]>wrote:
>
>> Hi.
>>
>> Whe I try to start my wicket webapp from Karaf, I receive a
>> NoClassFoundException agains Request.
>> The problem is that my app imports the package org.apache.wicket.request
>> from wicke.core bundle that have the package, but not the class.
>> The fact that the same package is exported from two bundles really does
>> not fit well in OSGI.
>>
>> Any possible solution?
>>
>>
>> --
>> Daniele Dellafiore
>> http://danieledellafiore.net
>>
>
>
>
> --
> Daniele Dellafiore
> http://danieledellafiore.net
>



-- 
Daniele Dellafiore
http://danieledellafiore.net

Reply via email to