Hi,

I've upgraded from SMX 5.0.0 to 5.1.0 and after changing the version of Camel that my bundle uses, to 2.13.1, and deploying my bundles, I am getting this error:

Error executing command: Error installing bundles:
Unable to start bundle file:/home/jdubchak/deploy/my-domain-services-1.0.0.jar: Unresolved constraint in bundle my-domain-services [228]: Unable to resolve 228.0: missing requirement [228.0] osgi.wiring.package; (&(osgi.wiring.package=javax.servlet.http)(version>=2.6.0)(!(version>=3.0.0)))

On these dependencies (where camel.version is 2.13.1):

<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-core</artifactId>
    <version>${camel.version}</version>
</dependency>

<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-cxf</artifactId>
    <version>${camel.version}</version>
</dependency>

<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-jackson</artifactId>
    <version>${camel.version}</version>
</dependency>

Here is the configuration from my pom.xml:

<configuration>
    <instructions>
        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
        <Bundle-Version>${project.version}</Bundle-Version>
        <Export-Package>
com.example.services.automation*;version=${project.version}
        </Export-Package>
        <Import-Package>*</Import-Package>
    </instructions>
</configuration>

I have installed the same bundles, from Camel, CXF etc. that was installed on SMX 5.0.0 and wonder if anyone can help me with what I am missing?


Thanks,
John

Reply via email to