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

前端 未结 22 1705
情书的邮戳
情书的邮戳 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:59

    I had the same problem with MyEclipse and Eclipse 6.6.0. It red lined the uri value in every

    <%@ taglib prefix="s" uri="/struts-tags"%>. I fixed it by going to 'Project/MyEclipse/Web/Tag Libraries' and setting the Default TLD Prefix for Struts 1.2 Tiles Tags to 's'. I also had to do the same under 'Project/MyEclipse/Web/Configure workspace settings.../Tag Libraries'.

提交回复
热议问题