Closed hexiaobop closed 5 years ago
com.riversoft.weixin.common.AccessTokenHolder 缺少无参造函数,导致继承的自定义类无法通过反射新建类 accessTokenHolder = (AccessTokenHolder)Class.forName(clazz).newInstance();
果然还是基础不过关,已解决 public MyWechatTokenHolder() { super("", "", ""); }
com.riversoft.weixin.common.AccessTokenHolder 缺少无参造函数,导致继承的自定义类无法通过反射新建类 accessTokenHolder = (AccessTokenHolder)Class.forName(clazz).newInstance();