package com.oxerr.sandbox.weixin4j;
import com.foxinmy.weixin4j.payment.WeixinPayProxy;
public class WeixinPayProxyDemo {
public static void main(String[] args) {
// WeixinPayProxy wpp = new WeixinPayProxy();
System.out.println(WeixinPayProxy.VERSION);
}
}
Exception:
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.foxinmy.weixin4j.payment.WeixinPayProxy.<clinit>(WeixinPayProxy.java:846)
at com.oxerr.sandbox.weixin4j.WeixinPayProxyDemo.main(WeixinPayProxyDemo.java:9)
Caused by: java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Properties.java:434)
at java.util.Properties.load0(Properties.java:353)
at java.util.Properties.load(Properties.java:341)
at com.foxinmy.weixin4j.util.Consts.loadProperties(Consts.java:23)
at com.foxinmy.weixin4j.util.Consts.<clinit>(Consts.java:32)
... 2 more
Version 1.8.0
Exception: