概述
下面出现红色的字还有警告,解决方法:本人项目是struts1 from类继承了“extends ActionForm” 。把它去掉就行了。如果你是其它的框架一定是继承引起的作个参考吧。
.......
警告: Property 'servletFor' of class org.apache.struts.action.ActionServletWrapper has no read method. SKIPPED
2013-9-4 10:11:00 net.sf.json.JSONObject _fromBean
警告: Property 'servlet' of class com.taa.from.StrudentFrom has no read method. SKIPPED
2013-9-4 10:11:00 net.sf.json.JSONObject _fromBean
警告: Property 'servletFor' of class org.apache.struts.action.ActionServletWrapper has no read method. SKIPPED
[{"birth":null,"major":"111","multipartRequestHandler":null,"score":222,"servletWrapper":{},"sex":0,"sid":36,"sname":"ewew"},{"birth":null,"major":"1ca","multipartRequestHandler":null,"score":177,"servletWrapper":{},"sex":0,"sid":37,"sname":"edc"},{"birth":null,"major":"12","multipartRequestHandler":null,"score":1000,"servletWrapper":{},"sex":0,"sid":38,"sname":"gtbn"}
2013-9-4 10:11:00 net.sf.json.JSONObject _fromBean
警告: Property 'servlet' of class com.taa.from.StrudentFrom has no read method. SKIPPED
2013-9-4 10:11:00 net.sf.json.JSONObject _fromBean
........
转载于:https://www.cnblogs.com/jiawan/p/3300441.html
最后
以上就是香蕉荷花为你收集整理的JSON 转换异常 multipartRequestHandler servletWrapper的全部内容,希望文章能够帮你解决JSON 转换异常 multipartRequestHandler servletWrapper所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复