Announcement Announcement Module
Collapse
No announcement yet.
spring dm kernel M5 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment

    Working...
    X