On Sun, Feb 27, 2011 at 8:31 PM, Richard S. Hall <[email protected]> wrote: > Not sure why Pax Exam would depend on internal framework API, but the last > framework version to have that single parameter constructor was 1.8.1... > > -> richard > > On 2/27/11 13:04, teemu kanstren wrote: >> >> Hello all, >> >> I have been trying to learn to use Pax Exam with Felix but without much >> success. My latest issue is that I get the error >> >> java.lang.NoSuchMethodError: >> >> org.apache.felix.framework.ServiceRegistry.<init>(Lorg/apache/felix/framework/Logger;)V >> at org.ops4j.pax.runner.Run.createContext(Run.java:255) >> >> and looking at the Felix sources for ServiceRegistry I see >> >> public ServiceRegistry(Logger logger, ServiceRegistryCallbacks >> callbacks)
Yes I had the same issue. I think pax-exam is using a version of the runner that's somewhat outdated. I actually checked out their code to fix this but could not get automated registration to work so I can commit back. Since then I just did not bother working with it because of a lack of time. The runner depends on internal Felix classes yes because it launches Felix although now with the Framework factory it may no long need to bother. Regards, Alex --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

