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是必须的

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

相关文章:

  • 2021-12-31
  • 2021-11-15
  • 2021-08-15
  • 2021-10-04
猜你喜欢
  • 2021-12-20
  • 2022-01-10
  • 2022-01-05
  • 2021-06-01
  • 2021-06-15
相关资源
相似解决方案