作者热门文章
- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
我正在尝试设置我的 eclipse 插件开发目标并多次收到以下错误:
!ENTRY org.eclipse.e4.ui.css.swt 4 0 2015-01-30 15:15:06.879
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.e4.ui.css.swt [955]
Unresolved requirement: Require-Bundle: org.eclipse.e4.ui.css.core; bundle-version="0.9.0"
-> Bundle-SymbolicName: org.eclipse.e4.ui.css.core; bundle-version="0.10.100.v20140424-2042"; singleton:="true"
org.eclipse.e4.ui.css.core [1134]
Unresolved requirement: Require-Bundle: org.apache.batik.css; bundle-version="1.7.0"
-> Bundle-SymbolicName: org.apache.batik.css; bundle-version="1.7.0.v201011041433"
org.apache.batik.css [1177]
Unresolved requirement: Import-Package: org.w3c.dom.events; version="[3.0.0,4.0.0)"
这是否意味着这些插件都无法解析,或者只是不能解析最后一个 org.w3c.dom.events
或者这是由于 org.eclipse.e4.ui.css.core
的 bundle 版本不匹配造成的? ?
最佳答案
对于 JMC 8,最低 JDK 要求是 version=8,对于 JMC 8.1,最低 JDK 要求是 version=11
您遇到此问题是因为您尝试使用 JDK 8 打开 JMC 8.1。安装 JMC 版本 8 然后您的问题就会解决。
关于java - org.osgi.framework.BundleException : Could not resolve module,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28238134/
我是一名优秀的程序员,十分优秀!