org.apache.jasper.JasperException: File "/struts-tags" not found
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
:idea: