Hello!

I'm running Apache Felix embedded into webapp.
I have a class in a webapp that has a field of type
org.joda.time.LocalDate. This class should be a return type of service that
is provided by bundle, the service itself is the implementation of
interface from webapp.


This library is the dependency of the webapp.
Specifying the package org.joda.time in
org.osgi.framework.system.packages.extra has no effect so the dependency is
still not resolved, while installing the bundle
http://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.joda-time
leads to LinkageError
have different Class objects for the type
lt.<init>(Lorg/joda/time/LocalDate;Ljava/math/BigDecimal;Ljava/lang/String;Ljava/lang/String;)V
used in the signature

How should I let the bundle use joda-time(version 2.3.1) library?


Thanks!

Reply via email to