- This topic has 2 replies, 2 voices, and was last updated 18 years, 1 month ago by johnsw.
-
AuthorPosts
-
johnswMemberWhy do I keep getting this error when opening JSP pages in the MyEclipseIDE perspective?
I get two tabs opening; one with the error message, and another with the JSP file – I have to close the error page/tab, and then can edit using the JSP editor…
This is really annoying – can it be fixed?
Eclipse Version: 3.1.2 and MyEclipse 4.1.1 on Windows 2K
Unable to create this part due to an internal error. Reason for the failure: The Visual Web Designer is not supported on the current Browser platform. The MyEclipse ‘Classic’ JSP Editor has been opened instead.
More Details
————–
org.eclipse.ui.PartInitException: The Visual Web Designer is not supported on the current Browser platform. The MyEclipse ‘Classic’ JSP Editor has been opened instead.
at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.redirectToClassicEditor(HTMLMultiPageEditorPart.java:1198)
at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.init(HTMLMultiPageEditorPart.java:882)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:778)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2241)
at com.genuitec.eclipse.core.util.EditorUtil.openEditor(EditorUtil.java:80)
at com.genuitec.eclipse.core.util.EditorUtil.openEditor(EditorUtil.java:73)
at com.genuitec.eclipse.core.util.Util.openEditor(Util.java:738)
at com.aston.WizardPage$1.run(WizardPage.java:263)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3102)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2761)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
GregMemberYou have 2 options here:
– Install Eclipse 3.2.0 and MyEclipse 5.0.1 as a complete seperate installation and you can use the new Visual JSP Designer that is supported on all windows and Linux platforms.
or
– If you want to continue to use MyEclipse 4.1.1, you can make the JSP Source editor only our default JSP editor. Go to Window > Preferences > General > Editors > File Associations and then select *.jsp then under Associated editors select the MyEclipse JSP Editor and make it the default.
johnswMemberThanks, I’ll give the second option a try.
John
-
AuthorPosts