OSGi got FrameworkFactory could not be instantiated Error

后端 未结 1 991
忘了有多久
忘了有多久 2020-12-22 10:33

I am trying to use OSGi and maven to develop an standard alone application.

I have the following osgi dependency in pom.xml


    &l         


        
1条回答
  •  借酒劲吻你
    2020-12-22 11:27

    The dependency you added is the OSGi Core API.

    You need an implementation like equinox, felix or knopflerfish.

    E.g.:

    Instead of adding the dependency you mentioned, add

    
        org.apache.felix
        org.apache.felix.main
        5.6.2
    
    

    0 讨论(0)
提交回复
热议问题