Happy to hear it is working! Thank you for letting us know that your issue was resolved.
-Matt Pavlovich > On Jan 8, 2025, at 2:19 AM, Matthias Wegner <matthias.weg...@email.de> wrote: > > Thx Eric, this works perfect. Regards, M. > > Gesendet: Mittwoch, 8. Januar 2025 um 00:52 > Von: "Eric Lilja" <mindcoo...@gmail.com> > An: user@karaf.apache.org > Betreff: Re: java.nio.file.spi > Assuming you're using Pax Exam, you can use > KarafDistributionOption.replaceConfigurationFile() to provide your own > etc/jre.properties until the next version of Karaf is out > > - Eric L > > On Tue, Jan 7, 2025 at 9:05 PM Matthias Wegner <matthias.weg...@email.de > <mailto:matthias.weg...@email.de>> wrote: >> Dear Matt, thanks. This did the job. Can you also name the solution how to >> add this line for surefire tests? Adding jre.properties in resources-folder >> is not working. Regards, Matthias >> >> >> > Am 07.01.2025 um 06:41 schrieb Matt Pavlovich <mattr...@gmail.com >> > <mailto:mattr...@gmail.com>>: >> > >> > Hi Mathias- >> > >> > This is simply a miss in the etc/jre.properties file. >> > >> > The JDK provides this package, and Karaf is simply not configured >> > out-of-the-box to provide this to all bundles. >> > >> > Fix: Update etc/jre.properties >> > >> > Add the following line in alphabetical order near the other java.nio.file >> > entries: >> > >> > java.nio.file.spi, \ >> > >> > Thanks, >> > Matt Pavlovich >> > >> >> On Jan 5, 2025, at 8:47 AM, Matthias Wegner <matthias.weg...@email.de >> >> <mailto:matthias.weg...@email.de>> wrote: >> >> >> >> Hi All, >> >> >> >> i created a bundle which throws following except on execution in karaf: >> >> >> >> Error starting bundle 151: Unable to resolve org.rogatio.k3-behavior-core >> >> [151](R 151.0): missing requirement [org.rogatio.k3-behavior-core [151](R >> >> 151.0)] osgi.wiring.package; (osgi.wiring.package=java.nio.file.spi) >> >> Unresolved requirements: [[org.rogatio.k3-behavior-core [151](R 151.0)] >> >> osgi.wiring.package; (osgi.wiring.package=java.nio.file.spi)] >> >> >> >> On stackoverflow and in this archive I not find a solution to wire >> >> java.nio in felix maven bundle plugin or avoid this exception. >> >> >> >> Any hint? >> >> >> >> Regards, >> >> Matthias >> > >>