Failed to load resource: the server responded with a status of 500 ()
来源:互联网 发布:手机版vb编辑器 编辑:程序博客网 时间:2024/06/08 00:24
Failed to load resource: the server responded with a status of 500 ()
遇到这样的错误,本地测试没问题,放到服务器上就出问题了,经过排查以下原因:
把xwork的jar包替换成低版本的即可!
struts2项目启动时报错:
java.lang.ClassNotFoundException:org.apache.commons.lang.xwork.StringUtils。
是因为struts2-convention-plugin-xxxxxx.jar 某个版本的SEOActionNameBuilder类引用了 org.apache.commons.lang.xwork.StringUtils;
此类存在于xwork-core-2.1.6.jar,更高的版本已经没有这个类了。
解决的方法是,使用高版本的struts2-convention-plugin-xxxxxx.jar,最好使用struts2 lib中配套的jar。
解决该问题来源博文:http://bbs.csdn.net/topics/391992908
阅读全文
0 0
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- failed to load resource the server responded with a status of 500 (internal server error)
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- failed to load resource the server responded with a status of 500 (internal server error)
- SharePoint Debug - Failed to load resource: the server responded with a status of 500
- Failed to load resource: the server responded with a status of 500 ()
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 406 (Not Acceptable)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 404
- Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
- Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 405 (Method Not Allowed)
- SprimgMVC:Failed to load resource: the server responded with a status of 406 (Not Acceptable)
- jquery:Failed to load resource: the server responded with a status of 404 (Not Found)
- atom去掉注释的斜体字
- 使用MUI实现父子页面传值
- github unable to access 'https://github.com/...: Failed to connect to github.com port 443‘
- PL/SQL连接服务端数据库
- 深入理解java线程池—ThreadPoolExecutor
- Failed to load resource: the server responded with a status of 500 ()
- Fragment 生命周期的详情
- 简单的快速排序
- Java list集合通过遍历删除元素异常分析
- Linux系统下activeMQ的安装
- 对称加密
- 云坤:“互联网+政务服务”整体建设方案
- EXPLAIN 的理解
- HDFS的读写限流方案