There is no result type defined for type 'json' mapped with
name 'success'.

这个错误是json初学者很容易遇到的错误:现在把本人学习过程中遇到的问题跟大家分享一下,欢迎拍砖

1、首先查看Jar有没有少

commons-beanutils-1.7.0.jar
  

commons-collections-3.2.jar
  

commons-lang-2.3.jar
  

commons-logging-1.1.jar
  

ezmorph-1.0.4.jar   

json-lib-2.2.3-jdk15.jar 

jsonplugin-0.33.jar

另外struts2-json-plugin-2.2.1.1.jar  和
 jsonplugin-0.33.jar会冲突不能同时存在

2、看Struts配置文件的继承部分对不对,

 

json-default是必须的

版权声明:本文为博主原创文章,未经博主允许不得转载。

最新文章

  1. Android Studio切换为eclipse的快捷键之后还是有区别的部分快捷键
  2. javascript arguments解释,实现可变长参数。
  3. jdk版本及编译版本导致服务器部署UnsupportedClassVersionError错误
  4. Nginx HTTP负载均衡和反向代理配置
  5. ZOJ3741 状压DP Eternal Reality
  6. Jcrop+strut2+jsp实现图片剪切
  7. 利用Chrome模拟访问移动端网页
  8. mac osx App store 安装软件 发生错误
  9. 一个超级简单php的留言板
  10. Photoshop理论:另外一种角度看图层混合模式
  11. linux 安装Gauss09 GaussView
  12. VS2017 调试期间无法获取到变量值查看
  13. 海量数据挖掘MMDS week2: 局部敏感哈希Locality-Sensitive Hashing, LSH
  14. Linux--前后端分离部署
  15. Pyqt walk 在Windows查找文件
  16. Exception in thread "main" org.apache.ibatis.binding.BindingException: Type interface com.test.bean.groupMapper is not known to the MapperRegistry.
  17. libmysqlclient.so.18: cannot open shared object file
  18. gispro设置标注属性字体样式设置
  19. 《剑指offer》第六十四题(求1+2+…+n)
  20. <基础> PHP 进阶之 流程控制(Process)

热门文章

  1. 九度OJ 1016:火星A+B (进制转换)
  2. 【题解】kth异或和/魔改版线性基
  3. 我的Android进阶之旅------>Handlerr.removeCallbacksAndMessages(null)的作用
  4. php依据地理坐标获取国家、省份、城市,及周边数据类
  5. (图解)Description Resource Path Location Type Java compiler level does not match the version of
  6. Spring/Java error: namespace element 'annotation-config' … on JDK 1.5 and higher
  7. Python正则表达式Cheat sheet
  8. vuex原理笔记
  9. LightOJ - 1321 Sending Packets —— 概率期望
  10. matlab之mean()函数