相关疑难解决方法(0)

尝试运行OSGi调试目标时,支持"不支持平台"

我正在尝试从IntelliJ Idea运行一个小型的OSGi项目.我在Idea的OSGi配置部分添加了Equinox容器.然后我将OSGi方面添加到项目中.到目前为止,一切看起来都不错.

但是,一旦我尝试运行该项目,我就会遇到麻烦.我使用IntelliJ Idea的'OSGi Bundles'跑步者.在那里,我选择我的项目包和OSGi容器并运行它.这个问题开始了.我总是出现同样的错误信息:

             ___
            /  /
           /  / Oops, there has been a problem!
          /  /  
         /__/   Platform [platform.felix 3.0.6] is not supported
        ___
       /__/     

     -> Exception caught during execution:
    org.ops4j.pax.runner.ConfigurationException: Platform [platform.felix 3.0.6] is not supported
        at org.ops4j.pax.runner.Run.installPlatform(Run.java:611)
        at org.ops4j.pax.runner.Run.start(Run.java:221)
        at org.ops4j.pax.runner.Run.main(Run.java:148)
        at org.ops4j.pax.runner.Run.main(Run.java:121)
Run Code Online (Sandbox Code Playgroud)

我试图使用其他OSGi容器,如Felix或Knopflerfish,并遇到同样的问题.有谁知道我做错了什么.或者IntelliJ支持哪些版本的OSGi容器?

osgi intellij-idea pax-runner

5
推荐指数
1
解决办法
1425
查看次数

标签 统计

intellij-idea ×1

osgi ×1

pax-runner ×1