java.lang.IllegalAccessException

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方法

你可能感兴趣的:(java,apache,spring,servlet,Access)