错误:
Class org.apache.struts2.json.JSONWriter can not access a member of class org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper with modifiers "public"
解决:
excludeProperties:
\S+.hibernateLazyInitializer
<result name="success" type="json">
<param name="root">replies</param>
<param name="excludeNullProperties">true</param>
<param name="excludeProperties">
data\[\d+\].author.password,
data\[\d+\].author.posts,
data\[\d+\].author.replies,
\S+.hibernateLazyInitializer
</param>
</result>