ITeye博客

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

adm889486 · 2011-01-14 10:24 · 企业架构 · Markdown

org.apache.jasper.JasperException: File "/struts-tags" not found struts2 子目录jsp File "/struts-tags" not found,根目录就没错

今天在做Struts2配置时,出了这样的错误. 先前按照 /struts-tags /WEB-INF/struts-tags.tld 这种方式把配置访导入也没有用. 查了资料原来是和tomcat配置有关. 以下配置配置在后面 我配置在tomcat server.xml是这样的 test.com

改成以下则成功 test.com 注:以上配置会让tomcat两次加载web.xml文件.如果配置了数据连接池的话,会出现打开两倍数据连接池的问题. 所以最好还是改成:

127.0.0.1

评论(1)

  1. #1 楼 · tangzlboy · 2012-03-21 16:55

    :idea:

评论功能维护中,当前仅展示历史评论。