Hi, Good catch.
In Karaf, we have our own hibernate feature to avoid such issue: https://github.com/apache/karaf/blob/master/assemblies/features/enterprise/src/main/feature/feature.xml#L172 Why don't you use Hibernate Karaf provided feature ? Anyway, if you absolutely want to use the one provided by Hibernate, you can blacklist part of the feature. Regards JB On 30/01/2020 13:59, Zhendong Chen wrote: > Hi JB, > > I found the problem. > The new hibernate-osgi feature, see hibernate-osgi-5.3.14.Final-karaf.xml > has changed compare with 5.2.x > > If I remove these two lines, everything is ok. > <feature>aries-blueprint</feature> > <bundle>mvn:org.osgi/org.osgi.compendium/5.0.0</bundle> > > How can I pragmatically remove these dependency? > We use this dependency since 4.2.7 > <dependency> > <groupId>org.hibernate</groupId> > <artifactId>hibernate-osgi</artifactId> > <classifier>karaf</classifier> > <version>5.3.14.Final</version> > <type>xml</type> > <scope>runtime</scope> > </dependency> > > Best, > Zhendong > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com