刚装了Myeclipse9, 用struts2 config editor打开web工程中的struts.xml文件时出错, 显示:
引用
Could not open the editor: assertion failed:
日志信息:
引用
org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1065)
at com.genuitec.eclipse.struts2.editor.Struts2ConfigEditor.createPages(Struts2ConfigEditor.java:62)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:348)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:331)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:179)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
(
struts.xml放在src下.
struts jar包是自己导的, 没有使用Myeclipse添加struts特性.
)
已经重装三遍了, 不管用. 怎么解决?
若只是想建议我使用其他版本, 请勿回答.
先行谢过!
问题补充:使用Myeclipse xml editor可以打开, 但我想使用struts2 config editor
问题补充:Myeclipse8.5可以正常打开
相关推荐
struts.xml和applicationContext.xml、web.xml的配置
配置MyEclipse Struts2.xml提示方法,更方便的开发Struts2
MyEclipse2018.9.0破解文件(教程),带有破解的教程说明,亲测过,有效
二、Myeclipse关联的maven本地仓库配置文件settings.xml (1)可自定义文件名 D:\developsoft\javaweb\commonPlugins\maven\apache-maven-3.8.1_first\conf\settings_Myeclipse1.xml 三、3个可单独使用的,maven项目...
struts.xml详解.docstruts.xml详解.docstruts.xml详解.doc
MyEclipse生成hbm.xml文件(全图解)--很详细的步骤,让你一目了然。
经验证,可靠。注意破解前先不要打开myeclipse文件。这个是根据2018.9版本改编而来 ,仅供交流学习使用,请勿用于商业!
MyEclipse.Struts.Hibernate.Oracle开发实例源码
绝对可以解决这个这个问题。Struts初学者绝对可以受用的方法。
MyEclipse-2021.5.24a.rar
程序爱好者的最爱
myeclipse 2018.9.0快速破解文件
hibernate 根据表生成实体和hbm.xml配置文件
MyEclipse iReport JasperReport Struts2.doc MyEclipse iReport JasperReport Struts2.doc
jeecg-framework-3.4.3GA-myeclipse非maven版本.zipjeecg-framework-3.4.3GA-myeclipse非maven版本.zipjeecg-framework-3.4.3GA-myeclipse非maven版本.zipjeecg-framework-3.4.3GA-myeclipse非maven版本.zipjeecg-...
这是Myeclipse 代码格式化模板 配置方法 Window --> preferences-->java-->Code style --> Formatter-->import..
myeclipse2018.8.0 最新破解文件,亲测有效; myeclipse2018.8.0 最新破解文件,亲测有效; myeclipse2018.8.0 最新破解文件,亲测有效;