facebook

Unusual behavior in the JSP editor

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

    Larry Hebel
    Member

    I am using …

    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    MyEclipse JSP Design Support

    Version: 3.9.310
    Build id: 20050808-4.0-Milestone-3

    When I open a JSP file and start making changes the cursor begins to flash rapidly and the Progress window is flooded with “Table Synchronization”, “Refresh Property Sheet” and “Update Outline” messages. It then takes several minutes before the processing has finished and the IDE returns to normal behavior, e.g. I can’t copy and paste lines in the JSP file however I can type to enter changes and select Save. With the next change I begin to make it starts again. I have reviewed all the documentation I can find and can’t seem to resolve this behavior. My Problem window is also flooded with “Unknown Tag …” messages if that’s relevant.

    #240883 Reply

    Riyad Kalla
    Member

    I would encourage you to shut down MyEclipse, uninstall it then download our 4.0.3 Installer, install that, then add -clean to your command line arguments you use to start Eclipse and go ahead and start it back up. Then close and reopen all your editors and see if the problem persists.

    The designer is one of the biggest ticket items in MyEclipse so we are constantly working on it, more improvements and optimizations are comming in 4.1 and 5.0

    #240943 Reply

    Larry Hebel
    Member

    Now I don’t have any of the MyEclipse editors on the menus. MyEclipse appears on the main menu bar but it doesn’t appear on the Window, Preferences and it doesn’t appear on the Open menu when I want to open a JSP.

    MyEclipse does appear in the Features list from the About dialog, so how do I get all the options back?

    #240945 Reply

    Larry Hebel
    Member

    After poking around and looking at the Software Updates, Manage Configuration, I find the following errors listed under the MyEclipse Base Platform Support 4.0.0, Status.

    No plug-in: “org.eclipse.draw2d” included at runtime.

    No plug-in: “org.eclipse.emf.codegen” included at runtime.

    No plug-in: “org.eclipse.emf.codegen.ecore” included at runtime.

    No plug-in: “org.eclipse.emf.common” included at runtime.

    No plug-in: “org.eclipse.emf.ecore” included at runtime.

    No plug-in: “org.eclipse.emf.ecore.xmi” included at runtime.

    No plug-in: “org.eclipse.emf.edit” included at runtime.

    No plug-in: “org.eclipse.emf.edit.ui” included at runtime.

    No plug-in: “org.eclipse.gef” included at runtime.

    #240952 Reply

    Larry Hebel
    Member

    Ok, fixed the last problem by selecting Find Updates for the MyEclipse Enterprise Workbench 4.0.3 and letting it install again.

    Now I have the expected content on the menus. But I also have errors for my JSP files like this:

    File “/WEB-INF/tld/struts-bean.tld” not found. NOTE: No JSP line number was avaliable so line 1 was used for the marker.

    I have verified the file does exist in the folder provided it starts with my <project>/tmp folder. So how do I make it see the files?

    #240983 Reply

    Riyad Kalla
    Member

    lhebel,
    Please include the <%@taglib snippets from the top of your JSP page, as well as your <taglib> entries from your web.xml file.

    I would also suggest you read: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-31.html#251

    #241040 Reply

    Larry Hebel
    Member

    from JSP

    <%@ taglib uri=”/tags/struts-bean” prefix=”bean” %>
    <%@ taglib uri=”/tags/struts-html” prefix=”html” %>
    <%@ taglib uri=”/tags/dsralert” prefix=”dtags” %>

    from web.xml

    <taglib>
    <taglib-uri>/tags/struts-bean</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
    </taglib>

    <taglib>
    <taglib-uri>/tags/struts-html</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
    </taglib>

    <taglib>
    <taglib-uri>/tags/struts-logic</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
    </taglib>

    <taglib>
    <taglib-uri>/tags/struts-nested</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-nested.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/dsralert</taglib-uri>
    <taglib-location>/WEB-INF/tld/dsralert.tld</taglib-location>
    </taglib>

    #241050 Reply

    Riyad Kalla
    Member

    Those all look good, I just re-read your last sentence:

    I have verified the file does exist in the folder provided it starts with my <project>/tmp folder. So how do I make it see the files?

    What did you mean <project>/tmp, is your /tmp directory your WebRoot?

    #241065 Reply

    Larry Hebel
    Member

    Yes, tmp is the WebRoot. Under tmp is WEB-INF. So the full folder structure is

    <workspace>/<project>/tmp/WEB-INF/tld/struts-bean.tld
    <workspace>/<project>/tmp/WEB-INF/web.xml

    #241073 Reply

    Riyad Kalla
    Member

    This all looks try, try the following:

    1) Add -clean to your command line arguments and restart MyEclipse
    2) Run Project > Clean on your project and let it rebuild

    #241075 Reply

    Larry Hebel
    Member

    No change, still have the “File … not found”

    #241087 Reply

    Riyad Kalla
    Member

    Please right click on your project, and do a refresh. Then navigate to your WEB-INF/tld directorya nd double click the struts-bean.tld file, or whatever TLD the validator is complaining about. Did it open correctly?

    Does this validation warning show up on all the JSPs that use that TLD or just certain ones?

    #241123 Reply

    Larry Hebel
    Member

    The TLD opens correctly.

    The validation warning appears on all JSP files using the TLD.

    #241137 Reply

    Riyad Kalla
    Member

    Would you be able to use File > Export > Archive > ZIP functionality to export your project to a ZIP file and email it to us at support@genuitec.com ATTN Riyad and be sure to include the link to this forum post so I know why I’m getting the attachment.

    If not, can you create a new web project that exhibits this same problem, possibly with a subset of your files, and send that to me?

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: Unusual behavior in the JSP editor

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