You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Charles Moulliard <cm...@gmail.com> on 2010/07/12 17:00:56 UTC

Strange error when deploying camel-2.4 on Karaf (1.99)

Hi,

When deploying Apache Camel 2.4 on Karaf 1.99.SNAPSHOT, I get the following
error:

karaf@root> features:removeUrl
mvn:org.apache.camel.karaf/apache-camel/2.4-SNAPSHOT/xml/features
karaf@root> features:install camel
RE: org.apache.felix.framework.resolver.ResolveException: Constraint
violation for package 'org.springframework.util' when resolving module 81.0
between existing import 6
6.0.org.springframework.util BLAMED ON [[81.0] package;
(&(package=org.springframework.util)(version>=2.5.6)(!(version>=4.0.0)))]
and uses constraint 46.0.org.springframe
work.util BLAMED ON [[81.0] package;
(&(package=org.springframework.osgi.io)(version>=1.2.0)(version<=1.2.0)),
[58.0] package; (&(package=org.springframework.core.io.supp
ort)(version>=2.5.6)(!(version>=4.0.0)))]
...

[  81] [Active     ] [            ] [       ] [   60] spring-osgi-core
(1.2.0)

I hope that this is not blocking for releasing of Camel 2.4

Kind regards,


Charles Moulliard

Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel - ServiceMix Committer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Blog : http://cmoulliard.blogspot.com |  Twitter :
http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard

Re: Strange error when deploying camel-2.4 on Karaf (1.99)

Posted by Charles Moulliard <cm...@gmail.com>.
Thx. I will check. In the meantime, I make my test with camel-2.4



On Mon, Jul 12, 2010 at 5:32 PM, Guillaume Nodet <gn...@gmail.com> wrote:

> You need to make sure you have a fresh copy of every snapshot you use.
>  Upgrading to spring 3 has caused some problems and it looks difficult
> to have both spring 2 and spring 3 deployed at the same time for some
> reason.
>
> On Mon, Jul 12, 2010 at 5:00 PM, Charles Moulliard <cm...@gmail.com>
> wrote:
> > Hi,
> >
> > When deploying Apache Camel 2.4 on Karaf 1.99.SNAPSHOT, I get the
> following
> > error:
> >
> > karaf@root> features:removeUrl
> > mvn:org.apache.camel.karaf/apache-camel/2.4-SNAPSHOT/xml/features
> > karaf@root> features:install camel
> > RE: org.apache.felix.framework.resolver.ResolveException: Constraint
> > violation for package 'org.springframework.util' when resolving module
> 81.0
> > between existing import 6
> > 6.0.org.springframework.util BLAMED ON [[81.0] package;
> > (&(package=org.springframework.util)(version>=2.5.6)(!(version>=4.0.0)))]
> > and uses constraint 46.0.org.springframe
> > work.util BLAMED ON [[81.0] package;
> > (&(package=org.springframework.osgi.io
> )(version>=1.2.0)(version<=1.2.0)),
> > [58.0] package; (&(package=org.springframework.core.io.supp
> > ort)(version>=2.5.6)(!(version>=4.0.0)))]
> > ...
> >
> > [  81] [Active     ] [            ] [       ] [   60] spring-osgi-core
> > (1.2.0)
> >
> > I hope that this is not blocking for releasing of Camel 2.4
> >
> > Kind regards,
> >
> >
> > Charles Moulliard
> >
> > Senior Enterprise Architect (J2EE, .NET, SOA)
> > Apache Camel - ServiceMix Committer
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Blog : http://cmoulliard.blogspot.com |  Twitter :
> > http://twitter.com/cmoulliard
> > Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype:
> cmoulliard
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: Strange error when deploying camel-2.4 on Karaf (1.99)

Posted by Guillaume Nodet <gn...@gmail.com>.
You need to make sure you have a fresh copy of every snapshot you use.
 Upgrading to spring 3 has caused some problems and it looks difficult
to have both spring 2 and spring 3 deployed at the same time for some
reason.

On Mon, Jul 12, 2010 at 5:00 PM, Charles Moulliard <cm...@gmail.com> wrote:
> Hi,
>
> When deploying Apache Camel 2.4 on Karaf 1.99.SNAPSHOT, I get the following
> error:
>
> karaf@root> features:removeUrl
> mvn:org.apache.camel.karaf/apache-camel/2.4-SNAPSHOT/xml/features
> karaf@root> features:install camel
> RE: org.apache.felix.framework.resolver.ResolveException: Constraint
> violation for package 'org.springframework.util' when resolving module 81.0
> between existing import 6
> 6.0.org.springframework.util BLAMED ON [[81.0] package;
> (&(package=org.springframework.util)(version>=2.5.6)(!(version>=4.0.0)))]
> and uses constraint 46.0.org.springframe
> work.util BLAMED ON [[81.0] package;
> (&(package=org.springframework.osgi.io)(version>=1.2.0)(version<=1.2.0)),
> [58.0] package; (&(package=org.springframework.core.io.supp
> ort)(version>=2.5.6)(!(version>=4.0.0)))]
> ...
>
> [  81] [Active     ] [            ] [       ] [   60] spring-osgi-core
> (1.2.0)
>
> I hope that this is not blocking for releasing of Camel 2.4
>
> Kind regards,
>
>
> Charles Moulliard
>
> Senior Enterprise Architect (J2EE, .NET, SOA)
> Apache Camel - ServiceMix Committer
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Blog : http://cmoulliard.blogspot.com |  Twitter :
> http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com