Eclipse插件加载失败的问题

Eclipse插件加载失败的问题

自己一直在使用一个反编译的插件“Enhanced Class Decompiler (ecd)”,一直都是正常的使用,最近升级了Eclipse(Spring Tool Suite 4.21.1),突然发现这个插件不见了(没有加载)。查看相关的日志也没有找到相关的错误信息。

参考网上说的做法,打开了eclipse的控制台调试模式:

1. 编辑一下“.debug-options”文件(名字应该是随便的)

org.eclipse.equinox.p2.core/debug=true

org.eclipse.equinox.p2.core/reconciler=true

2.通过以下命令来启动eclipse:

SpringToolSuite4 -clean -console -consoleLog -debug .debug-options

这种方式下启动的eclipse,会多出一个控制台的窗口,所有调试信息/日志都在上面。

发现了这些内容:

搜索 “Unable to satisfy dependency from org.sf.feeling” (1个文件中匹配到4次,总计查找1次)

新文件 25 (匹配4次)

行 4: !MESSAGE Unable to satisfy dependency from org.sf.feeling.decompiler 3.4.0 to osgi.bundle; org.apache.commons.codec 1.9.0.

行 14: !MESSAGE Unable to satisfy dependency from org.sf.feeling.decompiler.source.attach 3.4.0 to osgi.bundle; org.apache.commons.io 2.2.0.

行 69: !MESSAGE Unable to satisfy dependency from org.sf.feeling.decompiler 3.4.0 to osgi.bundle; org.apache.commons.codec 1.9.0.

行 71: !MESSAGE Unable to satisfy dependency from org.sf.feeling.decompiler.source.attach 3.4.0 to osgi.bundle; org.apache.commons.io 2.2.0.

“Unable to satisfy dependency …… org.apache.commons.codec 1.9.0”

应该是eclipse的升级,去除或替换了某些底层的工具类库,所以造成了这类老旧插件无法正常加载了。

尝试从apache官网上找到所描述的工具类版本,放入插件自己的目录,再次重启eclipse,OK了,顺利加载,但不如果这样做会不会影响到其它的功能。

0