Hi Benjamin, You can exclude the java.io <http://java.io/> import. Anyway, I guess you are not using Karaf 4.3.1: I fixed the issue on this release with https://issues.apache.org/jira/browse/KARAF-7012 <https://issues.apache.org/jira/browse/KARAF-7012>
Regards JB > Le 6 mai 2021 à 08:10, Benjamin Graf <benjamin.g...@gmx.net> a écrit : > > Hi, > > what can I do if wrapping a jar generates import for osgi package "java.io" > which can not be resolved. I recognized this issue with actual oracle ojdbc11 > driver. The same works with sibling ojdbc8. > > Thanks for help :) > > Regards > > Benjamin > >