There is no resul…

来源:互联网 发布:hp照片打印软件 编辑:程序博客网 时间:2024/05/02 23:52
There is no result type defined for type 'json' mapped withname '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是必须的
0 0
原创粉丝点击