facebook

JSP Editor Error [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #223283 Reply

    Paul Ashford
    Member

    I have a JSP file that I can’t open. Found out why … taglib

    I created a new JSP file, and it worked. Then I tried to add a JSP taglib line, and, first, the editor was acting very strangely. I could no longer see what I was typing. Finally got the text in, closed the editor, tried to reopen, and got the same error as before:

    An Error dialog box that states: “Unable to create part:”
    An then an editor page that states: “An error has occurred when creating this editor”

    If I open the file with the text editor, and remove the line, I can then open it again with the MyEclipse JSP editor.

    The offending line is:

    <%@ taglib uri="/tags/struts-html" prefix="html" %>

    Oh, and this is on MacOSX 10.3.7, Eclipse 3.0.1
    Any other information I can provide, please let me know!

    #223284

    Riyad Kalla
    Member

    1) What version of MyEclipse are you running? (Please paste the version from Window > Prefs > MyEclipse)
    2) Close down eclipse, delete the <workspace dir>\.metadata\.log file, then start Eclipse, try and open a file that has that line in it, let it crash, now open the newly created .log file and paste the exception in here for us to see… this is very odd.

    3) Shut down Eclipse, change your shortcut to add the -clean option, restart Eclipse, now try and open an offending file, did it work?

    #223293

    Paul Ashford
    Member

    well, just restarting eclipse seems to have fixed it.
    sorry about that.
    you can close this.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JSP Editor Error [Closed]

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