博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
eclipse报错Missing Constraint: Require-Bundle: org.eclipse.emf.transaction;
阅读量:3534 次
发布时间:2019-05-20

本文共 1760 字,大约阅读时间需要 5 分钟。

今天新写了一个插件,用到了org.eclipse.emf.transaction,在产品配置种配置了以后仍然报错:

!ENTRY org.netliving.platforrm.workflow 4 0 2011-10-17 21:45:26.047

!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle "org.netliving.platforrm.workflow_1.0.0.beat [1486]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.emf.transaction; bundle-version="1.4.0"
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
 at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
 at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
 at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
 at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
 at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
 at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
 at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
 at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
 at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.osgi 4 0 2011-10-17 21:45:26.063

!MESSAGE Bundle reference:file:/E:/project/plugin/UniPlatform-init/ was not resolved.

 

 

解决办法:

Run->Run Configurations...,选择相应的程序后选择Plugin标签,点击“Add Required Plugins”即可。

转载地址:http://enmhj.baihongyu.com/

你可能感兴趣的文章
[LeetCode javaScript] 868. 二进制间距
查看>>
[LeetCode javaScript] 824. 山羊拉丁文
查看>>
[LeetCode javaScript] 463. 岛屿的周长
查看>>
[LeetCode javaScript] 107. 二叉树的层次遍历 II
查看>>
[LeetCode javaScript] 637. 二叉树的层平均值
查看>>
[LeetCode javaScript] 1. 两数之和
查看>>
[LeetCode javaScript] 14. 最长公共前缀
查看>>
[LeetCode javaScript] 26. 删除排序数组中的重复项
查看>>
[LeetCode javaScript] 8. 字符串转换整数 (atoi)
查看>>
[LeetCode javaScript] 28. 实现strStr()
查看>>
cv2.error: OpenCV(3.4.2) c:\projects\opencv-python\opencv\modules\imgproc\src\color.hpp:25
查看>>
前端网页学习7(css背景属性)
查看>>
前端网页学习8(css三大特性:层叠性,继承性,优先级)
查看>>
前端网页学习9(css盒子)
查看>>
python学习8(列表)
查看>>
JavaScript学习(new1)
查看>>
http GET 和 POST 请求的优缺点、区别以及误区
查看>>
JVM的4种垃圾回收算法、垃圾回收机制
查看>>
什么是分布式事务
查看>>
常用的分布式事务解决方案
查看>>