Results 1 to 2 of 2

Thread: spring dm kernel M5

  1. #1
    Join Date
    Nov 2008
    Posts
    232

    Default spring dm kernel M5

    On startup of dm-kernel 2.0.0M5 i am getting following exception

    Code:
    Exception in thread "main" java.lang.IllegalStateException: Unable to locate unique FrameworkFactory. Found 2 factories. Do you have mu
    ltiple OSGi implementations on your classpath?
            at com.springsource.osgi.launcher.FrameworkFactoryLocator.uniqueServiceFromLoader(FrameworkFactoryLocator.java:53)
            at com.springsource.osgi.launcher.FrameworkFactoryLocator.createFrameworkFactory(FrameworkFactoryLocator.java:44)
            at com.springsource.osgi.launcher.FrameworkBuilder.start(FrameworkBuilder.java:153)
            at com.springsource.osgi.launcher.Launcher.main(Launcher.java:58)

  2. #2
    Join Date
    Oct 2008
    Posts
    493

    Default

    As the exception suggests, it would appear that you have multiple OSGi implementations available on the classpath. The startup scripts automatically place everything in the lib directory on the classpath. Have you added any Jars to this directory? I've just downloaded M5 to double-check and, as expected, it only contains a single version of Equinox and starts up successfully.
    Andy Wilkinson
    SpringSource

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •