[英]eclipse : Can not find the tag library descriptor for “/struts-tags”
I am following the steps given in我正在按照中给出的步骤操作
http://www.tutorialspoint.com/struts_2/struts_quick_guide.htm http://www.tutorialspoint.com/struts_2/struts_quick_guide.htm
for a sample struts 2 application对于示例 struts 2 应用程序
but I am getting following error message : Can not find the tag library descriptor for "/struts-tags
但我收到以下错误消息:
Can not find the tag library descriptor for "/struts-tags
I followed several helps :我遵循了几个帮助:
still the error persists.. what shall I do?错误仍然存在..我该怎么办? Thanks
谢谢
This message can be produced if the struts2-core-[VERSION].jar
is not marked as an Export Dependency.如果
struts2-core-[VERSION].jar
未标记为导出依赖项,则会生成此消息。
To correct this:要纠正这一点:
Project Properties > Java Build Path > Order and Export
Then mark struts2-core-[VERSION].jar
as an Export Dependency (or, if included via Ivy, make sure the Ivy library is marked as an Export Dependency).然后将
struts2-core-[VERSION].jar
标记为导出依赖项(或者,如果通过 Ivy 包含,请确保将 Ivy 库标记为导出依赖项)。
Have you added the struts2-core-.jar to the libraries of the project?你有没有将struts2-core-.jar 添加到项目的库中? Clean the project.
清理项目。 The error will go away.
错误将消失。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.