Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Talk:How to create custom Map View in Java ME

From Wiki
Jump to: navigation, search

Desupratim - java.lang.NoClassDefFoundError: com.nokia.maps.map.MapCanvas

Hi

I need help i got a error "java.lang.NoClassDefFoundError: com.nokia.maps.map.MapCanvas" I was add Maps_API.jar as External jar.. No Error show in project but when i run this project in eclipes the Nokia SDK given this error...

HOW TO SLOVE THIS???? ITS URGENT....

desupratim 10:24, 6 June 2012 (EEST)

Jasfox - Ensure that the Maps_API.jar is exported correctly.

The code will compile if you reference the Maps_API.jar, but since the jar is not a standard option in the SDK it is not available in the SDK by default. You will need to include the Maps_API.jar as part of your binary.

In Eclipse, right click on your project, select properties and under the Java Build Path menu item select Order and Export. Make sure that the Maps_API.jar is ticked as an exported entry.

jasfox 13:35, 3 August 2012 (EEST)

 

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×