第一个OGSI程序出了此错
来源:互联网 发布:苹果电脑淘宝不能聊天 编辑:程序博客网 时间:2024/04/30 09:15
在用ECLIPSE调试OSGI时出现异常错误无法开打OSGI>
- !SESSION 2013-05-13 22:50:24.171 -----------------------------------------------
- eclipse.buildId=unknown
- java.version=1.7.0_21
- java.vendor=Oracle Corporation
- BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
- Command-line arguments: -dev file:C:/Documents and Settings/Administrator/Documents/workspace-sts-3.2.0.RELEASE/.metadata/.plugins/org.eclipse.pde.core/New_configuration/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -console
- !ENTRY org.eclipse.osgi 4 0 2013-05-13 22:50:25.000
- !MESSAGE Could not find bundle: org.eclipse.equinox.console
- !STACK 0
- org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console
- at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:211)
- at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
- at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
- 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:629)
- at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
- at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
- at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
但是选种org.eclipse.equinox.console时还是会报错,那时因为OSGI组建之间存在依赖关系,要使用org.eclipse.equinox.console必须要有它需要依赖的OSGI组建,因此在调试时,除了选择自己编写的OSGI组建还要选择
- org.apache.felix.gogo.command
- org.apache.felix.gogo.runtime
- org.apache.felix.gogo.shell
- org.eclipse.equinox.console
问题解决成功出现OSGI>
- osgi> ss
- "Framework is launched."
- id State Bundle
- 0 ACTIVE org.eclipse.osgi_3.8.2.v20130124-134944
- 1 ACTIVE BundleBase_1.0.0.qualifier
- 2 ACTIVE BundleCnService_1.0.0.qualifier
- 3 ACTIVE BundleEnService_1.0.0.qualifier
- 8 ACTIVE org.apache.felix.gogo.runtime_0.8.0.v201108120515
- 9 ACTIVE org.apache.felix.gogo.shell_0.8.0.v201110170705
- 10 ACTIVE org.apache.felix.gogo.command_0.8.0.v201108120515
- 11 ACTIVE org.eclipse.equinox.console_1.0.0.v20120522-1841
- osgi>
0 0
- 第一个OGSI程序出了此错
- 终于调试出第一个Struts程序!!!
- 2009新年头一天程序出了个错
- 第一个C#软件开发出BETA版本了
- 两年了,才出第一个软件
- 贴出我第一个手机Java程序
- 调通了第一个Hibernate程序
- 调通了第一个Hibernate程序
- 第一个Flex 的程序出炉了
- 第一个windows程序新鲜出炉了
- 什么时候出第一个版本?
- 今天写了第一个ASP.NET程序
- 今天下午完成了我的第一个JSP程序作品
- 第一个JAVA程序就碰到了数组越界......
- 我的第一个servlet程序终于可以运行了
- 今天编写了自己的第一个程序
- 写了第一个lucene程序(lucene学习笔记)
- 第一个Struts2程序,弄了一下午
- Xtrabackup使用指南 InnoDB数据备份工具
- poj 2533 Longest Ordered Subsequence
- 如何使用linkedin搜索引擎
- 如何实现对UITextField ,UITextView等输入框的 字数限制
- python sgmllib.SGMLParser的学习
- 第一个OGSI程序出了此错
- struts2 中Struts.xml -- constant配置参数的含义
- linux下chown命令操作
- HTC MyTouch 4G刷机图文教程
- 多线程编程2-NSOperation
- Oracle Forn触发器执行顺序
- [GIT] GIT SVN
- IT行业 缓解工作压力
- 一致性hash算法 - consistent hashing