facebook

Can’t view jsps using the jsp designer

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #263540 Reply

    mnewboult
    Member

    I’ve installed eclipse 3.2.1 and Myeclipse 5.1.0 on Windows 2000. I have a struts project which I’ve created as a Myeclipse project but all my jsp pages default to standard text. There’s no jsp highlighting at all.

    The ‘Unsupported content type in editor’ dialog keeps popping up but the jsp file extension is valid and the default jsp viewer is set up to be the JSP Design view. Not sure what else to try. Everything else seems fine – my struts config is displayed using the visual editor, just not the jsp pages.

    The content…

    <%@ page language=”java” contentType=”text/html; charset=ISO-8859-1″
    pageEncoding=”ISO-8859-1″%>
    <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”&gt;
    <html>
    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=ISO-8859-1″>
    <title>Insert title here</title>
    </head>
    <body>

    </body>
    </html>

    Matt

    #263634

    Greg
    Member

    Do you have any errors your error log? <your_workspace_dir>/.metadata/.log

    I tried to load your file in MyEclipse 5.1.0 and it works just fine. So something must be amiss in your installation. Have you tried restarting eclipse once with the “-clean” argument?

    #265137

    Clarke
    Member

    Hi

    I”m not sure about the OP but I have the same problem. I cleared out my logs, and re-openned a .jsp in the JSP VIsual Designer and got the following error:

    
    !ENTRY org.eclipse.ui 4 4 2007-01-25 11:22:25.417
    !MESSAGE Unhandled event loop exception
    
    !ENTRY org.eclipse.ui 4 0 2007-01-25 11:22:25.417
    !MESSAGE com/genuitec/javascript/debug/mozilla/ImprovedMozillaBrowser
    !STACK 0
    java.lang.NoClassDefFoundError: com/genuitec/javascript/debug/mozilla/ImprovedMozillaBrowser
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
        at java.lang.Class.getConstructor0(Class.java:2640)
        at java.lang.Class.newInstance0(Class.java:321)
        at java.lang.Class.newInstance(Class.java:303)
        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:157)
        at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
        at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
        at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
        at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:234)
        at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:231)
        at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:908)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:549)
        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:819)
        at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:718)
        at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:679)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2586)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521)
        at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513)
        at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493)
        at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:288)
        at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:280)
        at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:184)
        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)
    
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Can’t view jsps using the jsp designer

You must be logged in to post in the forum log in