JSP使用Struts2标签库报错

  • 场景:JSP中使用<%@ taglib prefix="s" uri="/struts-tags" %>报错Cannot find the tag library descriptor for /struts-tags
  • 注:struts-tags 是struts2标签库默认的URI
  • 解决:把struts2-core-2.3.1.2.jar的包放在WEB-INF/lib下面错误就消失了
原文地址:https://www.cnblogs.com/LJing21/p/10577754.html