出现Could not initialize class net.sf.json.JsonConfig错误。解决方法如下:
作者:互联网
<dependency>
<groupId>net.sf.json-lib</groupId>
<artifactId>json-lib</artifactId>
<version>2.4</version>
<classifier>jdk15</classifier>
</dependency>
修改为
<dependency>
<groupId>net.sf.json-lib</groupId>
<artifactId>json-lib</artifactId>
<version>2.1</version>
<classifier>jdk15</classifier>
</dependency>
标签:lib,Could,JsonConfig,sf,json,net,class,jdk15 来源: https://www.cnblogs.com/wangyang9629/p/11418344.html