简体   繁体   中英

class file for java.util.Map not found

I got this error

class file for java.util.Map not found

on this line of code:

JSONObject json = new JSONObject(jsonString);

I am developing a J2ME project with J2ME polish 2.4, using the json-1.0.jar library. The project was working not until I updated J2ME polish from 2.3 to 2.4

众所周知,J2ME不支持java.util.Map,因此您在内部使用的java.util.Map是Json lib,因此您应该对J2ME使用json库。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM