- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我一直在尝试使用 eclipse RCP 创建一个独立的应用程序,但每当我尝试运行该应用程序时都会收到以下错误。我试图研究以前的解决方案,但我觉得我遗漏了一些东西(或者可能是我对它的理解不够好)
`!SESSION 2014-01-22 14:58:27.824 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.osgi 4 0 2014-01-22 14:58:28.677
!MESSAGE Bundle org.eclipse.update.configurator@3:start not found.
!ENTRY org.eclipse.core.runtime 4 0 2014-01-22 14:58:28.792
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.core.runtime_3.9.0.v20130326-1255 [118]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.core.jobs; bundle-version="[3.2.0,4.0.0)"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.osgi 4 0 2014-01-22 14:58:28.798
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.9.0.v20130326-1255.jar was not resolved.
!ENTRY org.eclipse.osgi 2 0 2014-01-22 14:58:28.818
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-22 14:58:28.819
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.9.0.v20130326-1255.jar was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2014-01-22 14:58:28.819
!MESSAGE Missing required bundle org.eclipse.equinox.app_1.0.0.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2014-01-22 14:58:28.819
!MESSAGE Missing required bundle org.eclipse.equinox.registry_[3.4.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2014-01-22 14:58:28.819
!MESSAGE Missing required bundle org.eclipse.core.contenttype_[3.3.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2014-01-22 14:58:28.819
!MESSAGE Missing required bundle org.eclipse.core.jobs_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2014-01-22 14:58:28.819
!MESSAGE Missing required bundle org.eclipse.equinox.preferences_[3.4.0,4.0.0).
!ENTRY org.eclipse.osgi 2 0 2014-01-22 14:58:28.825
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-22 14:58:28.825
!MESSAGE Bundle org.eclipse.core.runtime_3.9.0.v20130326-1255 [118] was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2014-01-22 14:58:28.825
!MESSAGE Missing required bundle org.eclipse.core.jobs_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2014-01-22 14:58:28.825
!MESSAGE Missing required bundle org.eclipse.equinox.registry_[3.4.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2014-01-22 14:58:28.826
!MESSAGE Missing required bundle org.eclipse.equinox.preferences_[3.4.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2014-01-22 14:58:28.826
!MESSAGE Missing required bundle org.eclipse.core.contenttype_[3.3.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2014-01-22 14:58:28.826
!MESSAGE Missing optionally required bundle org.eclipse.core.runtime.compatibility.auth_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2014-01-22 14:58:28.826
!MESSAGE Missing required bundle org.eclipse.equinox.app_1.0.0.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2014-01-22 14:58:28.826
!MESSAGE Missing dynamically imported package org.eclipse.core.internal.runtime.auth_0.0.0.
!ENTRY org.eclipse.osgi 4 0 2014-01-22 14:58:28.831
!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:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
`
我的 Config.ini 文件如下所示
#Product Runtime Configuration File
eclipse.application=ZilliRCP.application
osgi.bundles.defaultStartLevel=4
eclipse.product=ZilliRCP.product
osgi.splashPath=platform:/base/plugins/ZilliRCP
osgi.bundles=ZilliRCP,\
ch.qos.logback.classic,\
ch.qos.logback.core,\
com.ibm.icu,\
javax.activation,\
javax.annotation,\
javax.inject,\
javax.mail,\
javax.servlet,\
javax.xml,\
org.eclipse.core.runtime,\
org.apache.batik.css,\
org.apache.batik.util,\
org.apache.batik.util.gui,\
org.apache.commons.lang,\
org.apache.lucene.analysis,\
org.apache.lucene.core,\
org.dbe.businessModeller-vetis,\
org.dbe.businessModeller-vetis-lib,\
org.eclipse.ant.core,\
org.eclipse.compare.core,\
org.eclipse.core.commands,\
org.eclipse.core.contenttype,\
org.eclipse.core.databinding,\
org.eclipse.core.databinding.observable,\
org.eclipse.core.databinding.property,\
org.eclipse.core.expressions,\
org.eclipse.core.filebuffers,\
org.eclipse.core.filesystem,\
org.eclipse.core.jobs,\
org.eclipse.core.net,\
org.eclipse.core.resources,\
org.eclipse.core.runtime,\
org.eclipse.core.variables,\
org.eclipse.e4.core.commands,\
org.eclipse.e4.core.contexts,\
org.eclipse.e4.core.di,\
org.eclipse.e4.core.di.extensions,\
org.eclipse.e4.core.services,\
org.eclipse.e4.ui.bindings,\
org.eclipse.e4.ui.css.core,\
org.eclipse.e4.ui.css.swt,\
org.eclipse.e4.ui.css.swt.theme,\
org.eclipse.e4.ui.di,\
org.eclipse.e4.ui.model.workbench,\
org.eclipse.e4.ui.services,\
org.eclipse.e4.ui.widgets,\
org.eclipse.e4.ui.workbench,\
org.eclipse.e4.ui.workbench.addons.swt,\
org.eclipse.e4.ui.workbench.renderers.swt,\
org.eclipse.e4.ui.workbench.swt,\
org.eclipse.e4.ui.workbench3,\
org.eclipse.emf,\
org.eclipse.emf.common,\
org.eclipse.emf.ecore,\
org.eclipse.emf.ecore.change,\
org.eclipse.emf.ecore.xmi,\
org.eclipse.equinox.app,\
org.eclipse.equinox.bidi,\
org.eclipse.equinox.common,\
org.eclipse.equinox.ds,\
org.eclipse.equinox.event,\
org.eclipse.equinox.http.jetty,\
org.eclipse.equinox.http.servlet,\
org.eclipse.equinox.p2.core,\
org.eclipse.equinox.p2.engine,\
org.eclipse.equinox.p2.metadata,\
org.eclipse.equinox.p2.metadata.repository,\
org.eclipse.equinox.p2.repository,\
org.eclipse.equinox.preferences,\
org.eclipse.equinox.registry,\
org.eclipse.equinox.security,\
org.eclipse.equinox.util,\
org.eclipse.help,\
org.eclipse.help.base,\
org.eclipse.jetty.continuation,\
org.eclipse.jetty.http,\
org.eclipse.jetty.io,\
org.eclipse.jetty.security,\
org.eclipse.jetty.server,\
org.eclipse.jetty.servlet,\
org.eclipse.jetty.util,\
org.eclipse.jface,\
org.eclipse.jface.databinding,\
org.eclipse.jface.text,\
org.eclipse.net4j.jms.api,\
org.eclipse.osgi.services,\
org.eclipse.swt,\
org.eclipse.text,\
org.eclipse.ui,\
org.eclipse.ui.editors,\
org.eclipse.ui.forms,\
org.eclipse.ui.ide,\
org.eclipse.ui.ide.application,\
org.eclipse.ui.ide.application.source,\
org.eclipse.ui.ide.source,\
org.eclipse.ui.intro,\
org.eclipse.ui.views,\
org.eclipse.ui.workbench,\
org.eclipse.ui.workbench.texteditor,\
org.eclipse.xsd,\
org.slf4j.api,\
org.w3c.css.sac,\
org.w3c.dom.smil,\
org.w3c.dom.svg,\
ch.qos.logback.slf4j,\
javax.transaction,\
org.eclipse.core.filesystem.win32.x86,\
org.eclipse.core.net.win32.x86,\
org.eclipse.core.resources.win32.x86,\
org.eclipse.core.runtime.compatibility.registry,\
org.eclipse.equinox.security.win32.x86,\
org.eclipse.equinox.transforms.hook,\
org.eclipse.equinox.weaving.hook,\
org.eclipse.objectteams.otequinox.hook,\
org.eclipse.swt.win32.win32.x86,\
org.eclipse.ui.win32
osgi.splashPath = platform:/base/plugins/org.eclipse.platform
<configurations>
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" />
</configurations>
osgi.bundles=org.eclipse.equinox.transforms.hook@4,org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start
最佳答案
如果您使用的是 .product
文件,请在产品编辑器的 Dependencies
选项卡上输入插件依赖项。在 Configuration
选项卡上使用 Generate a default config.ini
文件。这比尝试自己编写配置文件要容易得多。
关于java - 无法获取应用程序服务。确保已解析并启动 org.eclipse.core.runtime 包(请参阅 config.ini),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21285171/
我有以下对象: dog = { location: { x: 52.1089, y: 16.2323 }, f: function(message) { alert
在 TSQL 中,如果我要搜索有效的 .com 电子邮件地址,我需要确保有一个 @ 符号,它以 .com 结尾,并且在 @ 前后至少有一个字符。 SELECT * FROM CUSTOMER WHER
我正在尝试准备一个信用卡交易列表,以便在 Excel 2010 中进行透视和进一步分析(满足个人需求)。问题是我的银行机构没有遵循标准的日期格式,所以有时日期会显示为 Jun. 1, 2013 , 有
看来您不能在 riak 中进行交易。如何确保数据正确? 假设我们要插入评论。在 redis 我会做 commentId=incr commentCount multi SET comment_post
对于下面给定的模式,是否可以确保至少一个属性包含一个值(即 minLength 为 1): { "$schema": "http://json-schema.org/draft-04/sche
我计划在 Haxe 的一个子集中编写 Haxe 库,这些库将编译为每种 Haxe 目标语言。有什么方法可以验证 Haxe 程序是否可以编译为所有目标语言,是否可以在不手动测试每个目标平台上的编译代码的
如果浏览器窗口未聚焦,则当前页面上的所有 webdriver 标识都失败。 如何使用 webdriver 使浏览器成为焦点? 最佳答案 ((JavascriptExecutor) webDriver)
我从这样的 HTML GET 请求中获取图像链接... www.example.com?image=www.anotherdomain.com/image.jpg if (isset($_GET['i
我有一个 eunit 测试,它生成一个唯一的节点名称并开始分发: {A,B,C} = now(), Nodename = list_to_atom(lists:flatten(io_lib:forma
我正在完成我的 iPhone 应用程序。我只是担心我们的网络服务器级别的安全性。数据通过网络服务被传送到 iPhone 应用程序。 我可以在网络服务上采取哪些安全措施,以免受到攻击? 谢谢 最佳答案
我正在编写一个应用程序,该应用程序启动一个运行简单 Web 服务器的子进程。我正在使用 NSTask 并通过管道与其进行通信,一切看起来或多或少都很好。但是,如果我的程序崩溃,子进程将保持事件状态,并
我有一些应用程序,我调用 ShowMessage('Complete!');在长时间操作结束时。 大多数时候,这效果很好,但每隔一段时间,消息对话框就会显示在主窗体后面。 有什么方法可以确保 Show
我通过将消息插入集合并让模板使用 {{#each}} 打印出集合来创建一个简单的聊天。 我不太熟悉安全性,但是有没有办法让它符合 EFF 规定? https://www.eff.org/secure-
我有一个商店,我想在其中正确管理 id。假设我有以下帖子存储: type Post = { id: number; title: string; body?: string; } type
我有一个使用 ajax post 方法和数据表的程序。经过几周的摆弄,我确定我根本不明白 javascript 是如何工作的。这是我的 JavaScript: $('#SaveTimeSheet').
我有一个系统,如果从 Azure 服务总线丢失消息将是一场灾难,也就是说,数据将永远丢失,并且没有实际方法可以在不造成重大中断的情况下修复损坏。 在这种情况下我可以完全依赖 ASB 吗? (即使它
如何确保 scalatest 测试不会并行运行?在 0.12 之前,我有一个 sbt 设置: parallelExecution in Test := false 新版本引入了一些复杂的机制。这种更简
我的端点有两个如下所示的 promise : request.post({ url: url, json: smsSTART, header
简短版本 当 ui-router 转换到新 View 时(以我不完全理解的方式使用 ngAnimate),它会添加类 ng-leave 和 ng-leave-active 到当前 View 。它还将类
目前正在努力寻找验证 2 个表的方法(有效地验证表 A 的大量行) 我有两张 table 表A ID A B C 表格匹配 ID Number A 1 A 2 A 9 B 1
我是一名优秀的程序员,十分优秀!