facebook

Unable to initialize TldLocationsCache

💡
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 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #238743 Reply

    brucebaron
    Member

    I’m seeing this error at the top of a JSP that’s including a jsp:

    Unable to initialize TldLocationsCache: error in opening Zip file. NOTE: No JSP line number was available so line 1 was used for the marker.

    <%@ include file="/WEB-INF/jsp/include.jsp"%> 

    The include file has the <@ taglib … declarations.

    This isn’t affecting tag completion features, but the validator thinks there are errors. This project uses Spring. It was created using the new web project wizard, then I added Spring capability from the MyEclipse context menu. Then I imported the java source xml descriptors and jsp files by copying them into the project from elsewhere on the file system.

    I created a new web project from the wizard, Added the same include.jsp and a second jsp that includes it, and don’t get any errors in that project.

    I’m running Eclipse 3.1.1 and MyEclipse 4.0.1, installed in a fresh location with no other plugins.

    #238796

    Scott Anderson
    Participant

    I created a new web project from the wizard, Added the same include.jsp and a second jsp that includes it, and don’t get any errors in that project.

    It could be a marker that just didn’t get cleared properly for some reason. Can you right-click on the file in the Package Explorer view and select MyEclipse > Remove Validation Markers. Did that remove it? Did it reoccur when you saved the file again?

    #238824

    brucebaron
    Member

    @support-scott wrote:

    I created a new web project from the wizard, Added the same include.jsp and a second jsp that includes it, and don’t get any errors in that project.

    It could be a marker that just didn’t get cleared properly for some reason. Can you right-click on the file in the Package Explorer view and select MyEclipse > Remove Validation Markers. Did that remove it? Did it reoccur when you saved the file again?

    That fixed it, thanks.

    Also, I read elsewhere on here questions if prelude/coda fragments are supported for picking up taglib references. Is that working in 4.0.1?

    #238871

    Riyad Kalla
    Member

    Also, I read elsewhere on here questions if prelude/coda fragments are supported for picking up taglib references. Is that working in 4.0.1?

    Not just yet, that was a big enough change not to be included in a minor bugfix release.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Unable to initialize TldLocationsCache

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