json.me在J2ME项目中出错

时间:2011-03-11 07:22:50

标签: java java-me j2mepolish

嗨嗨朋友们, 我正在研究J2ME项目&我在项目中使用了Json.me但是在我的类文件&中导入了org.json.me. *尝试编译它,它显示警告&构建失败。 我不知道发生了什么。 这是警告&建立失败....

Warning: org.json.me.JSONTokener: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONTokener: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONTokener: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONTokener: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONTokener: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONTokener: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONArray: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONArray: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONArray: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONArray: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONArray: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONArray: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONObject: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONObject: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONObject: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONObject: can't find referenced class java.lang.StringBuilder
Warning: org.json.me.JSONObject: can't find referenced class java.lang.StringBuilder
Warning: there were 17 unresolved references to classes or interfaces.
         You may need to specify additional library jars (using '-libraryjars'),
         or perhaps the '-dontskipnonpubliclibraryclasses' option.
Error: Please correct the above warnings first.
D:\Sajid\\Workspace_netbean\JGame\nbproject\build-impl.xml:432: Obfuscation failed with error code 1.
BUILD FAILED (total time: 2 seconds)

任何人都可以帮助我.... 感谢

1 个答案:

答案 0 :(得分:0)

我猜你有一个旧版本的Java,比如1.4.2左右。 StringBuilder是在1.5版本中引入的。