首页 > 技术文章 > [问题解决] File "/struts-tags" not found

maocaoliu 2013-07-26 10:48 原文

错误:
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>

 

推荐阅读