java.lang.IllegalAccessException
关键字: struts2 + ext2.2 + spring
Servlet.service() for servlet default threw exception
java.lang.IllegalAccessException: Class com.googlecode.jsonplugin.JSONWriter can not access a member of class org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper with modifiers "public"
需要用到get方法,只是在action里面不能包含有接口的get方法,
如 private InterfaceService iService;
public InterfaceService getIService(){
return iService;
} 即:spring注入时,不需写get方法