Can not find the tag library descriptor for "/struts-tags"问题

解决办法:

1、struts.xml位置没有放正确,将struts.xml 放到src目录下,redeploy

2、没有正确导入struts库,把struts2相关的几个lib放在工程的WEB-INF/lib下面就可以了

3、<%@taglib prefix="s" uri="/struts-tags"%> 有特殊字符 ,删掉重写(^_^)

你可能感兴趣的:(java)