[color=blue][b]Unable to find parent packages json-default[/b][/color]
这个错误折磨了我大半天,后来自己仔细看看tomcate启动日志发现了这个错误,经查询,是缺少了
[color=red][b]struts2-json-plugin-2.1.8.1.jar [/b][/color]这个包,因为struts2默认是以插件形式进行加载的,所以是少加载的json处理的包。加入这个包运行正常。如果没有这个包的话。
运行时会报There is no Action mapped for namespace·······所有的Action都不能运行。
下面我上传了这个包,这个去[color=cyan][url]www.findjar.com[/url][/color]去找,很好找到的
这个错误折磨了我大半天,后来自己仔细看看tomcate启动日志发现了这个错误,经查询,是缺少了
[color=red][b]struts2-json-plugin-2.1.8.1.jar [/b][/color]这个包,因为struts2默认是以插件形式进行加载的,所以是少加载的json处理的包。加入这个包运行正常。如果没有这个包的话。
运行时会报There is no Action mapped for namespace·······所有的Action都不能运行。
下面我上传了这个包,这个去[color=cyan][url]www.findjar.com[/url][/color]去找,很好找到的