JSONObject jsonObject = JSONObject.fromObject(requestJson); 为什么执行出异常呢? requestJson是页面传过来的数据我将他转换成json对象 requestJson = "{"username":"admin","userpwd":"123"}";报错了
收起
你应该是缺少json-lib包吧,看tomcat发布目录下有这个包吗
报告相同问题?