[问题解决] File "/struts-tags" not found

时间:2023-03-09 15:11:37
[问题解决] File "/struts-tags" not found

错误:
org.apache.jasper.JasperException: File "/struts-tags" not found

发生场景:
tomcat服务器

解决方案:
将tomcat中的server.xml文件配置:

<Host name="localhost" appBase="webapps" .....></Host>

改成

<Host name="localhost" appBase="webapps" .....>
<Context path="/" docBase="项目名称(即webapps目录的文件名)" reloadable="true" caseSensitive="false" debug="0"></Context>
</Host>