java.lang.IllegalStateException

Unable to locate unique FrameworkFactory. Found 2 factories. Do you have multiple OSGi implementations on your classpath?

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Sam Brannen,
  • via Unknown by Sam Brannen,
  • Stack trace

    • java.lang.IllegalStateException: Unable to locate unique FrameworkFactory. Found 2 factories. Do you have multiple 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.test.framework.OsgiTestRunner.launchOsgi(OsgiTestRunner.java:93) at com.springsource.osgi.test.framework.OsgiTestRunner.run(OsgiTestRunner.java:50)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.