borball / weixin-sdk

微信公众平台(订阅号、服务号、企业号、小程序)、微信开放平台和微信支付 Java SDK
Apache License 2.0
1.05k stars 490 forks source link

无视我 #78

Closed hexiaobop closed 5 years ago

hexiaobop commented 5 years ago

com.riversoft.weixin.common.AccessTokenHolder 缺少无参造函数,导致继承的自定义类无法通过反射新建类 accessTokenHolder = (AccessTokenHolder)Class.forName(clazz).newInstance();

hexiaobop commented 5 years ago

果然还是基础不过关,已解决 public MyWechatTokenHolder() { super("", "", ""); }