繁体   English   中英

eclipse : 找不到“/struts-tags”的标签库描述符

[英]eclipse : Can not find the tag library descriptor for “/struts-tags”

我正在按照中给出的步骤操作

http://www.tutorialspoint.com/struts_2/struts_quick_guide.htm

对于示例 struts 2 应用程序

但我收到以下错误消息: Can not find the tag library descriptor for "/struts-tags

我遵循了几个帮助:

  1. 错误 - 找不到“/struts-tags”的标签库描述符
  2. 在 Struts 中找不到 /WEB-INF/struts-html.tld 的标签库描述符

错误仍然存​​在..我该怎么办? 谢谢

如果struts2-core-[VERSION].jar未标记为导出依赖项,则会生成此消息。

要纠正这一点:

Project Properties > Java Build Path > Order and Export

然后将struts2-core-[VERSION].jar标记为导出依赖项(或者,如果通过 Ivy 包含,请确保将 Ivy 库标记为导出依赖项)。

你有没有将struts2-core-.jar 添加到项目的库中? 清理项目。 错误将消失。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM