Eclipse “cannot find the tag library descriptor” for custom tags (not JSTL!)

前端 未结 22 1738
情书的邮戳
情书的邮戳 2020-12-12 16:33

I have a Java EE project which build fine with Ant, deploys perfectly to JBoss, and runs without any trouble. This project includes a few custom tag librari

22条回答
  •  星月不相逢
    2020-12-12 16:57

    I fixed this problem today.

    • Change your output directory to your WEB-INF/classes folder. (Project/Properties/Java Build Path, Default output folder)
    • Assigne the module dependencies. (Project/Properties/Java EE Module Dependencies) they will be copied to the WEB-INF/lib folder where Eclipse looks for the tag lib definitions too.

    I hope it helps.

提交回复
热议问题