Mobile Map API

MGMaps Lib SDK is professional toolkit to develop mobile mapping applications.
Platforms: iPhone, Android, RIM BlackBerry, Java ME (J2ME)
Download maps API SDK »

Uudised

Viimane: Sun, 27 Jun 2010 12:57:15
Teema: Nutiteq in SOTM 2010
Veel uudiseid »

Nutiteq Twitteris

11 weeks 1 day ago Nutiteq is proud sponsor of StateOfTheMap 2010 #sotm10

Module 'rim_maps_lib-1.0.0' not found

7 replies [Last post]
abbottv
User offline. Last seen 42 weeks 3 hours ago. Offline
Joined: 11/04/2009

I am developing using the BB Simulator 4.7 package. For the BB Storm. The program causes a jvm error 104 and then a Dialog error with Module 'rim_maps_lib-1.0.0' not found appears once i click continue. I am just trying to run the sample UIApplcation. Has anyone an idea what this may be?

jaak
User offline. Last seen 15 hours 25 min ago. Offline
Joined: 06/19/2008

There are two ways to link library to BB project:

1) include jar file to your application, so the maps library will be part of your code. How exactly, depends on your IDE. With Eclipse and BB plug-in just normal linking and exporting JAR file works fine, with JDE it might be more challenging. I suggest using this method, as then end-user does not see the library as separate module (sub-application); also your type of issue cannot come.

2) link library from another, "library" type of project, which has library JAR. Then final package should have two COD files (linked together in JAD and ALX) : your app and the library COD file.

In your case it seems that you compiled it using second method, but for some reason installation package (build process) did not include COD of the library where needed. BB library ZIP file has a short PDF instruction how to do second method with JDE, but it might depend on JDE version and your specific configuration.

/JaakL

abbottv
User offline. Last seen 42 weeks 3 hours ago. Offline
Joined: 11/04/2009

Thanks JaakL, I am not sure what one method fixed it, as I tried alot, but I had given up on it and was working on something else, when I came back to it later in the day, it just worked.

iyishla.campbell
User offline. Last seen 22 weeks 4 days ago. Offline
Joined: 01/16/2010

I get the following error after following the steps shown above:

Error preverifying class com.nutiteq.fieldmanager.MapField
java/lang/NoClassDefFoundError: com/nutiteq/listeners/MapListener
Error!: Error: preverifier failed: C:\Program Files (x86)\Eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.14\components\bin\prever ...

jaak
User offline. Last seen 15 hours 25 min ago. Offline
Joined: 06/19/2008

It seems that library is missing from the preverifier for some reason. Did you set "export" to it in Build Path?

/JaakL

iyishla.campbell
User offline. Last seen 22 weeks 4 days ago. Offline
Joined: 01/16/2010

Yes i did that, i used the second option you suggested, linking a library project created using a preverified jar file.

When i use the first option i get 'Module 'rim_maps_lib-1.0.2' not found'

And in both options i set export to the library project and the jar file in build path configuration.

jaak
User offline. Last seen 15 hours 25 min ago. Offline
Joined: 06/19/2008

Sounds like one of the nasty building issues. Sometimes I've seen that library JAR should be physically in specific directory (/) of project, otherwise builder will not find it.

/JaakL

iyishla.campbell
User offline. Last seen 22 weeks 4 days ago. Offline
Joined: 01/16/2010

ok so it finally worked after i downgraded my version of Eclipse to 3.4.1