Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User 20_seconds's Avatar
    Join Date
    Sep 2012
    Posts
    2
    I am testing an example java application on a Nokia 303 device using Nokia's java SDK/IDE(Eclipse). The example makes use of the categorybar and sets an element listener. When I run the app on the emulator, it works fine. When I run the app on the device however, I get the error:

    No Class Def Found Error java/lang/NoClassDefFoundError com/nokia/example/canvas/CanvasExample:com/nokia/mid/ui/ElementListener

    What is missing here? The ElementListener should be part of the nokiaui library.

    Thanks.

  2. #2
    Nokia Developer Expert bandarap's Avatar
    Join Date
    May 2012
    Posts
    222
    Hi 20_seconds,

    I believe you are testing on Nokia Asha 303.
    Categorybar is available starting from Nokia S40 Java SDK2.0, but Nokia Asha 303 is based on Nokia S40 Java SDK1.1.

    use Nokia Asha 305, 306 or 311 if you want to test your application on device.
    you can also make use of remote device service freely available for Nokia developers at http://www.developer.nokia.com/Devic...device_access/

  3. #3
    Registered User 20_seconds's Avatar
    Join Date
    Sep 2012
    Posts
    2
    You are correct.

    Thanks bandarap for your support.

Similar Threads

  1. No Class Def Found Error
    By ajitkumar26 in forum Mobile Java General
    Replies: 4
    Last Post: 2011-09-20, 16:02
  2. No Class Def Found Error
    By itg2 in forum Mobile Java General
    Replies: 6
    Last Post: 2009-07-13, 18:57
  3. No Class Def Found Error
    By mixmastermurf in forum Mobile Java General
    Replies: 9
    Last Post: 2008-04-08, 17:54
  4. No Class Def Found Error
    By NFC_Man in forum Mobile Java General
    Replies: 2
    Last Post: 2007-11-29, 14:11
  5. Application Error : No Class Def Found Error
    By josephsim in forum Mobile Java General
    Replies: 2
    Last Post: 2007-01-25, 20:49

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