2014-10-31 40 views
4

我試圖安裝一個插件http://asm.ow2.org/eclipse/index.html使用ObjectWeb Eclipse Update Site無法安裝asm框架和字節碼大綱插件

我選擇ASM FrameworkBytecode outline通過Install 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. 

回答

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

參考文獻: