2 Replies Latest reply on Sep 26, 2010 5:19 AM by ffang

    Import-Package error with camel-jpa

    larasith

      I'm having a problem with the camel-jpa component. When i try to start my bundle, i ever get this error:

       

      The bundle could not be resolved. Reason: Package uses conflict: Import-Package: org.apache.camel.component.jpa; version="2.2.0"

       

      And i've this package installed:

       

      package:export

      ...

      camel-jpa (343): org.apache.camel.component.jpa; version="2.2.0.fuse-02-00"

      ...

       

      Can anyone help me?

       

      Thanks

        • 1. Re: Import-Package error with camel-jpa
          ffang

          Hi,

           

          Seems you install fuse side released camel-jpa on apache side released smx container, and other bundle on apache side released smx container want apache side release camel-jpa version, this mismatch cause the problem.

           

          Freeman

          • 2. Re: Import-Package error with camel-jpa
            ffang

            Hi,

             

            Your customer bundle should depend on camel 2.2.0.fuse-02-00 in the pom.xml, then it will generated correct Import-Package(2.2.0.fuse-02-00) version for org.apache.camel.component.jpa

             

            Freeman