-
Bug
-
Resolution: Done
-
Critical
-
fuse-7.8-GA
-
False
-
False
-
%
-
-
?
-
Undefined
-
Fuse On Openshift
-
Migrating an application, which uses karaf-assembly, it running into "Candidate permutation failed due to a conflict between imports" when migrating from the Fuse 7.7 to 7.8 BOM.
Previously, the app migrated from Fuse 7.6 to 7.7 without any issues.
The startup looks like it just hangs until you turn on debug logging and see:
2021-01-15 19:15:02,391 | DEBUG | features-3-thread-1 | o.a.f.r.ResolverImpl | 14 - org.apache.karaf.features.core - 4.2.9.fuse-780023-redhat-00001 | Candidate permutation failed due to a conflict between imports; will try another if possible. (Uses constraint violation. Unable to resolve resource com.cust.ec.camel.ec-camel-soa.osgi [com.cust.ec.camel.ec-camel-soa.osgi/4.0.7.SNAPSHOT] because it is exposed to package 'javax.xml.bind' from resources jakarta.xml.bind-api [jakarta.xml.bind-api/2.3.2.redhat-00001] and org.apache.felix.framework [org.apache.felix.framework [0](R 0)] via two dependency chains. Chain 1: com.cust.ec.camel.ec-camel-soa.osgi [com.cust.ec.camel.ec-camel-soa.osgi/4.0.7.SNAPSHOT] import: (&(osgi.wiring.package=javax.xml.bind)(version>=2.3.0)(!(version>=3.0.0))) | export: osgi.wiring.package: javax.xml.bind jakarta.xml.bind-api [jakarta.xml.bind-api/2.3.2.redhat-00001] Chain 2: com.cust.ec.camel.ec-camel-soa.osgi [com.cust.ec.camel.ec-camel-soa.osgi/4.0.7.SNAPSHOT] import: (&(osgi.wiring.package=com.cust.protocol.rest._1)(version>=1.0.0)(!(version>=4.0.0))) | export: osgi.wiring.package=com.cust.protocol.rest._1; uses:=javax.xml.bind com.cust.ec.ec-api.osgi [com.cust.ec.ec-api.osgi/3.1.12.SNAPSHOT] import: (osgi.wiring.package=javax.xml.bind) | export: osgi.wiring.package: javax.xml.bind org.apache.felix.framework [org.apache.felix.framework [0](R 0)])
- is related to
-
ENTESB-15635 "java.lang.NoSuchMethodException" thrown from org.apache.cxf.common.util.ReflectionInvokationHandler.invoke() on karaf due to loading multiple CodeWriter instances
- Done