Error - Can not find the tag library descriptor for “/struts-tags”

前端 未结 9 1664
旧时难觅i
旧时难觅i 2021-02-13 19:56

I\'m receiving this error on my jsp file - \'Can not find the tag library descriptor for \"/struts-tags\"\'

Strange thing is my app still seems to work.

I\'m fol

相关标签:
9条回答
  • 2021-02-13 20:04

    I had this problem because I copied the libraries manually and directly into the folder WEB-INF/lib of the project and eclipse doesn't see them (I suggest you copy any necessary libraries into WEB-INF/lib only through eclipse!). So only a refresh of the project solved the problem for me because all the other solutions didn't work!!

    (I'm using Eclipse Kepler unber Ubuntu)

    0 讨论(0)
  • 2021-02-13 20:06

    In ECLIPSE: Right click on the project and select the option "Validate". That's all.

    0 讨论(0)
  • 2021-02-13 20:07

    This is probably Eclipse getting a bit 'confused' rather than a genuine error.

    I had the same thing yesterday when working through a Struts 2 tutorial, but it disappeared after opening/closing the JSPs.

    0 讨论(0)
  • 2021-02-13 20:08

    The same thing happened to me. I am using Maven to compile. So, I disabled and re-enabled Maven in my project and that solved it.

    0 讨论(0)
  • 2021-02-13 20:11

    I faced similar problem. This is what I did to resolve the issue.

    1.Select Project and right click. 2.Click on properties. 3.Click on libraries tab. 4.Click on 'Add Jars'. 5.Add relavent jar for your error.

    hope this helps. Thanks.

    0 讨论(0)
  • 2021-02-13 20:20

    As William mentioned, this sounds like your IDE may not know where the TLD for the tag library is in your project, but once packaged and running, it is working fine.

    0 讨论(0)
提交回复
热议问题