facebook

[Closed] Editor fails on "string-examples" JSP

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

    Using Eclipse 3.1, build I20050627-1435 on a Win2k machine with 2GB memory and ME 4.0.2.GA

    I downloaded the taglib jakarta-taglibs-string-1.1.0.zip and tried to import and open the supplied jakarta-taglibs-string-1.1.0\string-examples.war.

    How ever, the myEclipse editor fails to load the source: Unable to create this part due to an internal error. Reason for the failure: An error has occurred when initializing the input for the the editor’s source page.

    BTW: I tryed to load this sample, as I was not able to get the code completion work for Taglibs….

    Detailed stack:
    at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:248)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:585)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2325)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
    at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:279)
    at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:271)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:178)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
    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)

    #239975 Reply

    Riyad Kalla
    Member

    Bernd,
    I couldn’t reproduce this problem. I’m downloaded the file http://apache.forbigweb.com/jakarta/taglibs/string/binaries/jakarta-taglibs-string-1.1.0.zip, unzipped it, then I created a new web project, then I opened the string-examples.war and unzipped it into my WebRoot directory and opened the spring.jsp file, and recieved autocomplete for all the str tags.

    This is my config, do you see anything different?
    ————————–

    *** Date: Mon Oct 24 07:07:49 MST 2005

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_05

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.2 GA
    Build id: 20051010-4.0.2-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    D:\Java\eclipse-3.1\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    af8_38
    -vm D:\Java\jdk1.5.0_05\bin\javaw.exe
    -vm
    D:\WINDOWS\system32\javaw.exe

    #239991 Reply

    I did a clean reinstall of both Eclipse and ME and now it seems to work. Hmm. I´ll have an eye on that.

    Thanks you.

    Bernd

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] Editor fails on "string-examples" JSP

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