使用json-lib-2.1.jar报,org.apache.struts2.json.JSONWriter can not access a member of class org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper with modifiers "public"-转载

http://blog.csdn.net/xtra6714/archive/2010/07/08/5721593.aspx

原因:action中,有get方法,且方法返回接口类型时,报些错误。

办法:去掉相关返回接口类型的get方法;

posted on 2011-01-20 23:20  baizx  阅读(2176)  评论(0编辑  收藏  举报