eclipse product invocation causes java.lang.RuntimeException: No application id has been found

前端 未结 6 705
半阙折子戏
半阙折子戏 2021-01-11 11:35

I just exported a product that is working nicely if I hit the \"Launch an Eclipse application\" button. If try to execute the exported product, I get following exception on

相关标签:
6条回答
  • 2021-01-11 11:47

    I went to my run configurations and hit Add Required Plug-Ins one the Plug-Ins page. Made the problem go away.

    0 讨论(0)
  • 2021-01-11 11:52

    Added missing javax.xml dependency to the product configuration file:

    <plugin id="com.ibm.icu"/>
    <plugin id="javax.annotation"/>
    <plugin id="javax.inject"/>
    +<plugin id="javax.xml"/>
    <plugin id="org.apache.batik.css"/>
    <plugin id="org.apache.batik.util"/>
    <plugin id="org.apache.batik.util.gui"/>
    
    0 讨论(0)
  • 2021-01-11 11:56

    I had the same problem. With E4 tooling the following steps worked for me. Open .product file and go to Dependencies tab. Then press Add Required Plug-ins. Then go to Overview and press Launch an Eclipse application. Also you should do Help->Check for updates

    0 讨论(0)
  • 2021-01-11 12:04

    Review the Dependencies tab, and remove the extra plug-ins are are showing un-resolved in the Plug-ins and Fragments.

    0 讨论(0)
  • 2021-01-11 12:07

    Normally, I would look for the following:

    • you are not exporting the exact same set of plug-ins in your product configuration as used in the launch configuration. There are no tools available for the compare.
    • you have a custom config.ini file that does not define the proper application for the product.
    0 讨论(0)
  • 2021-01-11 12:14

    I had a similar exception while launching my project. In my case, the reason was JRE version - I've set JRE 1.7 instead of 1.6 in debug configuration, and things started to work. I believe the same thing can happen, if the project was configured for OpenJDK 1.6, and the debug launches it with sun-JDK 1.6.

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