You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Erwin Hogeweg <er...@me.com> on 2015/02/25 02:35:07 UTC

4.0.0.M2 - Puzzling Wiring Error

Hi,

I get the error message below when starting the Jackson Databind bundle, but as far as I can see, everything is correct. What am I missing here?

171 | Active    |  80 | 2.4.3                  | Jackson-annotations                                                  
karaf@root(bundle)> start 130
Error executing command: Error executing command on bundles:
	Error starting bundle130: Unresolved constraint in bundle com.fasterxml.jackson.core.jackson-databind [130]: Unable to resolve 130.0: missing requirement [130.0] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.annotation)(version>=2.4.0)(!(version>=2.5.0)))
karaf@root(bundle)> exports | grep fasterxml
com.fasterxml.jackson.annotation                         | 2.4.3           | 171 | com.fasterxml.jackson.core.jackson-annotations    
karaf@root(bundle)> 

OS X Yosemite
Java 7

Kind Regards,

Erwin

Re: 4.0.0.M2 - Puzzling Wiring Error - Update

Posted by Erwin Hogeweg <er...@me.com>.
This may be related to KARAF-3529.

The problem occurs when karaf is restarted with bundles in the deploy folder.

The dependencies are resolved fine if the files are deployed after a 'karaf clean' with an empty deploy folder.

Erwin.

> On Feb 24, 2015, at 20:35, Erwin Hogeweg <er...@me.com> wrote:
> 
> Hi,
> 
> I get the error message below when starting the Jackson Databind bundle, but as far as I can see, everything is correct. What am I missing here?
> 
> 171 | Active    |  80 | 2.4.3                  | Jackson-annotations                                                  
> karaf@root(bundle)> start 130
> Error executing command: Error executing command on bundles:
> 	Error starting bundle130: Unresolved constraint in bundle com.fasterxml.jackson.core.jackson-databind [130]: Unable to resolve 130.0: missing requirement [130.0] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.annotation)(version>=2.4.0)(!(version>=2.5.0)))
> karaf@root(bundle)> exports | grep fasterxml
> com.fasterxml.jackson.annotation                         | 2.4.3           | 171 | com.fasterxml.jackson.core.jackson-annotations    
> karaf@root(bundle)> 
> 
> OS X Yosemite
> Java 7
> 
> Kind Regards,
> 
> Erwin


Re: 4.0.0.M2 - Puzzling Wiring Error

Posted by Erwin Hogeweg <er...@me.com>.
JB,

Yes I did. No joy.

Erwin

> On Feb 25, 2015, at 02:15, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> 
> Hi Erwin,
> 
> did you try a refresh ?
> 
> Regards
> JB
> 
> On 02/25/2015 02:35 AM, Erwin Hogeweg wrote:
>> Hi,
>> 
>> I get the error message below when starting the Jackson Databind bundle,
>> but as far as I can see, everything is correct. What am I missing here?
>> 
>> 171 | Active    |  80 | 2.4.3                  | Jackson-annotations
>> *karaf*@root(bundle)> start 130
>> Error executing command: Error executing command on bundles:
>> Error starting bundle130: Unresolved constraint in bundle
>> com.fasterxml.jackson.core.jackson-databind [130]: Unable to resolve
>> 130.0: missing requirement [130.0] osgi.wiring.package;
>> (&(osgi.wiring.package=com.fasterxml.jackson.annotation)(version>=2.4.0)(!(version>=2.5.0)))
>> *karaf*@root(bundle)> exports | grep fasterxml
>> com.fasterxml.jackson.annotation                         | 2.4.3
>>   | 171 | com.fasterxml.jackson.core.jackson-annotations
>> *karaf*@root(bundle)>
>> 
>> OS X Yosemite
>> Java 7
>> 
>> Kind Regards,
>> 
>> Erwin
> 
> -- 
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com


Re: 4.0.0.M2 - Puzzling Wiring Error

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Erwin,

did you try a refresh ?

Regards
JB

On 02/25/2015 02:35 AM, Erwin Hogeweg wrote:
> Hi,
>
> I get the error message below when starting the Jackson Databind bundle,
> but as far as I can see, everything is correct. What am I missing here?
>
> 171 | Active    |  80 | 2.4.3                  | Jackson-annotations
> *karaf*@root(bundle)> start 130
> Error executing command: Error executing command on bundles:
> Error starting bundle130: Unresolved constraint in bundle
> com.fasterxml.jackson.core.jackson-databind [130]: Unable to resolve
> 130.0: missing requirement [130.0] osgi.wiring.package;
> (&(osgi.wiring.package=com.fasterxml.jackson.annotation)(version>=2.4.0)(!(version>=2.5.0)))
> *karaf*@root(bundle)> exports | grep fasterxml
> com.fasterxml.jackson.annotation                         | 2.4.3
>    | 171 | com.fasterxml.jackson.core.jackson-annotations
> *karaf*@root(bundle)>
>
> OS X Yosemite
> Java 7
>
> Kind Regards,
>
> Erwin

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com