How to make the java ServiceLoader work in a NetBeans 6.9 module application
I have troubles using the java ServiceLoader in a NetBeans module application. Here is what I'm trying to do (and it works in a normal java application in Eclipse): I have an interface.jar, which declares the interface. And I have implementations.jar, which has several implementations of this interface, all specified in the spi/META-INF/services/my.package.name.MyInteface file (this file is in the implemenations.jar). I also have a class ImplementationHandler (in yet another handler.jar), which has the following method to load all implementations: private static List<MyInterface<?>>