facebook

JSP editor doesn’t grok taglibs

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

    Hi,

    I am trying to import an existing (large) project into a MyEclipse Web project. When I do so, the JSP editor does not recognize the taglibs that I have set up (it highlights the unknown tags in yellow with an “unknown tag” error). The JARs are on the module’s classpath and the JSP’s have a URI which matches the one declared in the JAR’s TLD.

    Since this is an existing project and I’m evaluating switching our team from another IDE, I don’t have much interest in changing the project’s structure, although I have seen some posts indicating that if the TLD files are placed in WEB-INF/lib, that ME can detect them. Is there any other way to make it “see” them without altering web.xml?

    Thanks

    #271424

    Loyal Water
    Member

    Are you importing your exisitng project using MyEclipse’s import functionality ? MyEclipse import can only be used for Project created in Eclipse/MyEclipse. You will have to create a new Project in MyEclipse and drag and drop bits from your old project into this new project.

    #271458

    Hi,

    It’s an IntelliJ project.

    #271522

    Loyal Water
    Member

    IntelliJ project cannot be imported into MyEclipse directly. Can you create a new Project in MyEclipse and drag and drop bits from your old project into this new project. See if that resolves the problem.

    #271537

    Hi Nipun,

    Thanks — that’s what I did. The project works reasonably well… I can build, I can find declarations with the F3 key, etc. The only obvious thing that’s missing is the taglib recognition. What I am hoping to avoid is unzipping/extracting the TLD’s from the JAR’s from my project and having to put them in a magic directory or declare them in web.xml. Shouldn’t ME just “see” the TLD’s in the JAR’s in the classpath?

    Thanks!

    #271583

    Loyal Water
    Member

    If your TLD’s are in a JAR, ME should still see them. Just make sure the JAR in under the META-INF directory.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: JSP editor doesn’t grok taglibs

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