zoukankan      html  css  js  c++  java
  • MyEclipse启动时报 Unable to acquire application service. Ensure that the org.eclips

    今天MyEclipse启动时报如下错误: 

    !SESSION 2012-02-12 11:32:55.198 -----------------------------------------------

    eclipse.buildId=unknown

    java.version=1.6.0_13

    java.vendor=Sun Microsystems Inc.

    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN

    Command-line arguments:  -os win32 -ws win32 -arch x86 -clean

     

    !ENTRY org.eclipse.osgi 4 0 2012-02-12 11:32:55.805

    !MESSAGE Application error

    !STACK 1

    java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).

        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)

        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)

        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

     


    从网上也没找到合适的解决方案,后经观察发现是路径问题。因为我的MyEclipse是从另一台机器直接拷过来的,非安装版,所以路径跟我本机不一样。具体解决方案如下: 
    找到你的MyEclipse所在路径下的configurationorg.eclipse.equinox.simpleconfiguratorundles.info文件,譬如我的是 
    E:developsoftmyeclipse8GenuitecMyEclipse 8.x Latestconfigurationorg.eclipse.equinox.simpleconfiguratorundles.info 
    用记事本打开会发现里面有这样的字段file:/X:/xx/xx/Genuitec,把它全部替换为你本机实际的路径,然后保存。重启MyEclipse,OK,搞定! 

     

  • 相关阅读:
    Vant 中 底部弹窗(picker)选择数据
    捷克 Jetbranis布拉格 利迪策
    解决github默认忽略文件名字大小写问题
    钉钉独立聊天窗口功能
    查看 Github 上项目创建时间,更新时间
    CSS 上下布局
    Git 和 HTTPS
    {"error":"invalid_scope"}的问题解决记录
    uni-app 里使用colorui时复选框无法选中的问题解决
    win7 安装 sp1记录
  • 原文地址:https://www.cnblogs.com/FrenziedBug/p/3356578.html
Copyright © 2011-2022 走看看