It looks like the code is using:
ServiceLoader.load(PrintServiceLookup.class)
If those services are provided by the JRE, then you need to make sure that
the first time the service list is looked up, the thread context class
loader is set to null, so that it will use the system classloader to
Hello! I'm having a problem with PrintServiceLookup under Karaf, it seems
that when i run a PrintServiceLookup.lookupPrintServices(null, null) it
always return empty, after some investigation i found that this method
searchs for a javax.print.PrintServiceLookup under /META-INF/services , the
file