导包问题
import net.sf.json.JSONObject; 添加POM.xml文件依赖
net.sf.json.JSONObject maven依赖
-
<dependency>
-
<groupId>net.sf.json-lib</groupId>
-
<artifactId>json-lib</artifactId>
-
<version>2.4</version>
-
<classifier>jdk15</classifier>
</dependency>