首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

在Eclipe3.2.1下使用jadclipse 打开类文件总是出错?解决方法

2012-01-19 
在Eclipe3.2.1下使用jadclipse 打开类文件总是出错?急!!!各位大虾:帮忙解决一下:(以前我在Eclipse3.1.2下

在Eclipe3.2.1下使用jadclipse 打开类文件总是出错?急!!!
各位大虾:帮忙解决一下:(以前我在Eclipse3.1.2下没有出现过这样的情况)

jad1.5.8g+   net.sf.jadclipse_3.2.4.jar包+Eclipse3.2.1   按照配置规则都配置好了反编译软件.但是打开类文件总是出错:

    at   org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
at   org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at   org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
at   org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140)
at   org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
at   org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at   org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394)
at   org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144)
at   org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097)
at   org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
at   org.eclipse.ui.internal.PartStack.add(PartStack.java:455)
at   org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102)
at   org.eclipse.ui.internal.PartStack.add(PartStack.java:441)
at   org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111)
at   org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
at   org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
at   org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
at   org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:820)
at   org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:719)
at   org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:680)
at   org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2593)
at   org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
at   org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
at   org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
at   org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at   org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
at   org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2477)
at   org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExternalFileAction.java:132)
at   org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExternalFileAction.java:100)
at   org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
at   org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
at   org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at   org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at   org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at   org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at   org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at   org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at   org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at   org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at   org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at   org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)


at   org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at   org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at   org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at   org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at   org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at   org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at   org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at   java.lang.reflect.Method.invoke(Method.java:585)
at   org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at   org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at   org.eclipse.core.launcher.Main.run(Main.java:977)
at   org.eclipse.core.launcher.Main.main(Main.java:952)


[解决办法]
jadclips插件网站:
http://jadclipse.sourceforge.net/

一、下载:
下载插件:
下载jadclipse_3.1.0.jar版本,该版本支持eclipse3.1M6以上
下载jadclipse_3.2.0.jar版本,该版本支持eclipse3.2M3和eclipse3.2M4.
下载jadclipse_3.2.2.jar版本,该版本支持eclipse3.2M5以上。

下载Jad反编译工具:
http://www.kpdus.com/jad.html#download,在该页中找到适合自己操作系统平台的jad下载。下载后解压,然后将解压后的jad.exe文件复制到%JAVA_HOME%\BIN目录下面(可以将jad.exe随便放到哪,只要记住路径就好,下面要用到)。

二、安装:
方法1、直接将jadclipse_3.1.0.jar复制到%ECLIPSE_HOME%\plugins目录下。

方法2、使用link方式安装,建立E:\eclipse3.1plugins\jadclipse3.1.0\eclipse\plugins的目录结构,将jadclipse_3.1.0.jar放到plugins目录下面(注:其中E:\eclipse3.1plugins为你自己定义的一个专门放置插件的目录)。再在%ECLIPSE_HOME%\links目录下面建立一个jadclipse3.1.0.link文件(该文件名随便取,保证后缀为。link就OK)。文件里面内容为:path=E:\\eclipse3.1plugins\\jadclipse3.1.0.启动eclipse,打开Window-> Preferences-> Java-> JadClipse,如果没有找到JadClipse,检查插件安装的版本是否与你安装的eclipse版本对应。
我安装的eclipse是:eclipse3.1.2

热点排行