簡體   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