org.json.simple无法解析 [英] org.json.simple cannot be resolved

查看:384
本文介绍了org.json.simple无法解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Java新手,因此遇到此问题.我尝试解码Json,为此,我想导入这些包:

I'm a total java newbie and I have this problem. I try to decode Json and in order to do that I want to import these packages:

import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;

导入无法解决" ...这些软件包是否不再可用,或者我需要做其他事情才能使其正常工作?

"The import cannot be resolved"... are these packages unavailable anymore or do I have to do something else in order to make them work?

先感谢

推荐答案

可能您的简单json.jar文件不在您的类路径中.

Probably your simple json.jar file isn't in your classpath.

这篇关于org.json.simple无法解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆