无法安装asm框架和字节码大纲插件

时间:2014-10-31 06:44:08

标签: eclipse java-bytecode-asm

我正在尝试使用ObjectWeb Eclipse Update Site安装插件 http://asm.ow2.org/eclipse/index.html

我通过ASM Framework选择了Bytecode outlineInstall New Software。但在安装过程中我遇到了错误

An error occurred while installing the items
session context
was:(profile=epp.package.jee,phase=org.eclipse.equinox.internal.p2.engine.phases.Install, 
operand=null --> [R]org.objectweb.asm 2.0.0, action=).
Failed to prepare partial IU: [R]org.objectweb.asm 2.0.0.

1 个答案:

答案 0 :(得分:4)

Eclipse ASM Bytecode Outline plugin似乎没有维持很长一段时间,导致各种兼容性问题。对于较新版本的Eclipse,我建议改为安装this alternate version

无论如何,通过安装The Eclipse Project Updates site中的Eclipse 2.0 Style Plugin Support可以解决此问题中提出的具体问题。查看Eclipse Tests, Examples, and Extras类别。但正如所说,不推荐这样做,因为你很可能遇到其他问题,例如this one

参考文献: