Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User sajidshaikhi's Avatar
    Join Date
    Nov 2010
    Location
    bangalore
    Posts
    21
    Hey Hi Friends,
    I am working on J2ME project & I have used Json.me in project but when I have imported the org.json.me.* in my class file & try to compile it, it shows warnings & Build failed.
    What happening with this I don't know.
    This is Warnings & Build Failed....
    Code:
    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)
    Can any one help me please....
    Thanks

  2. #2
    Registered User bhanuchandar.k's Avatar
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868
    Hi It is trying for the class StringBulder .. In j2me that class is not available.

    Which is the jar you are using ? And check this link

Similar Threads

  1. JSON in J2ME
    By girdhar in forum Mobile Java General
    Replies: 6
    Last Post: 2010-11-18, 03:36
  2. JSON In J2ME
    By xgamerx in forum Mobile Java General
    Replies: 6
    Last Post: 2010-11-18, 03:26
  3. How to download JSON ME Api "org.json.me.zip"
    By narendar_discover in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2010-05-01, 12:15
  4. Replies: 2
    Last Post: 2008-04-25, 11:58
  5. i got an IllegalAccessError in J2me?
    By syedzeeshanakhtar in forum Mobile Java General
    Replies: 1
    Last Post: 2007-07-16, 14:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved