永发信息网

File "/struts-tags" not found帮忙解决下吧

答案:3  悬赏:70  手机版
解决时间 2021-03-08 03:45
  • 提问者网友:欺烟
  • 2021-03-08 00:25
在用struts2的标签时,访问含有struts2标签的页面时出现错误,错误是
严重的: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: File "/struts-tags" not found
我的web.xml里的配置信息

struts2

org.apache.struts2.dispatcher.FilterDispatcher



struts2
*.action




/struts-tags
/WEB-INF/lib/struts2-core-2.0.11.1.jar


页面引用:

在工程:/WEB-INF/lib下有struts2-core-2.0.11.1.jar和commons-lang-2[1].3.jar
大侠门,帮忙看下吧

回答好的加分啊,在web.xml里去掉....还是不行,我工程里有commons-fileupload-1.2.1.jar,应该不是路径的问题
最佳答案
  • 五星知识达人网友:走死在岁月里
  • 2021-03-08 02:04
去掉


/struts-tags
/WEB-INF/lib/struts2-core-2.0.11.1.jar
全部回答
  • 1楼网友:动情书生
  • 2021-03-08 04:51
有时候感觉java真的好垃圾 时好时坏的 明明没修改什么 突然就又不能运行了 什么东西 垃圾
  • 2楼网友:忘川信使
  • 2021-03-08 03:18
web.xml当中不需要配置的。。。。 去掉jsp-config配置, 然后加入commons-fileupload-1.2.1.jar 重新启动服务即可!
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯