facebook

Could Not Load TLD problem in 3.7.101

💡
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. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #207942 Reply

    dynamo92
    Member

    – System Setup ——————————-
    Operating System and version: Win XP Pro
    Eclipse version: 3.0.0 (RC1)
    Eclipse build id: 200405290105
    Fresh Eclipse install (y/n): Y
    MyEclipse version: 3.7.101
    Eclipse JDK version: 1.4.1
    Application Server JDK version: 1.4.1
    Are there any exceptions in the Eclipse log file?

    – Message Body ——————————-
    I know this problem has been discussed quite a bit, but I’ll be darned if I can see what the problem is.

    These steps worked perfectly fine in M8/3.7.1 (at least I don’t recall doing anything different) —

    (1) Create a new Web Module Project. Name it and take the defaults. Add Struts support.
    (2) Create a new JSP using “Standard JSP w/Struts 1.1” wizard.

    The code generated is (in part):

    
    
    <%@ page language="java"%>
    // Error on following line.....
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>
    

    Usually (but not always) the first <%@ taglib …” directive is marked with an error in the gutter – “could not load TLD for uri=”http://&#8230;..”. I say usually the first one. Sometimes when I add my own taglib directive the error moves to the new line. Very confusing.

    I’ve followed the troubleshooting/workaround steps in other posts without luck.

    My logs don’t show any current errors. The only thing in there that seems at all relevant is the following sequence of messages from one I installed and started ME 3.7.101 for the first time yesterday. It has not repeated even though I’ve stopped/started a dozen times since then.

    
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:10:55.954
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:11:02.504
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:11:04.446
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:11:21.621
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:11:33.318
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:11:33.328
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:11:33.328
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:11:34.760
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:11:58.394
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY org.eclipse.ui 4 4 Jun 02, 2004 07:11:59.65
    !MESSAGE Unhandled event loop exception
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:11:59.65
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY org.eclipse.ui 4 0 Jun 02, 2004 07:11:59.75
    !MESSAGE java.lang.OutOfMemoryError
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:12:11.42
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:12:17.181
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY de.bb.bje.eclipse 4 1 Jun 02, 2004 07:12:37.410
    !MESSAGE JSP Compiler broken
    !STACK 0
    java.lang.OutOfMemoryError
    !ENTRY org.eclipse.ui 4 4 Jun 02, 2004 07:12:37.430
    !MESSAGE Unhandled event loop exception
    !ENTRY org.eclipse.ui 4 0 Jun 02, 2004 07:12:38.151
    !MESSAGE java.lang.OutOfMemoryError
    !STACK 0
    java.lang.OutOfMemoryError
    

    Any ideas? Thanks!

    #207944

    Riyad Kalla
    Member

    Are you adding Struts 1.0 or 1.1 support? If its Struts 1.0, you have to add the libraries manually.

    Also, do you see the struts JARs (about 10 of them) added to your build path automatically? The error you are getting is likely because the JAR files are not in your build path, so the JSP editor cannot load those taglibs via their URI.

    If you have the feature “Automatically add libraries in WEB-INF/lib to build path” turned off, then this would probably explain what is going on. Just go ahead and add the Struts libs manually.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Could Not Load TLD problem in 3.7.101

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