• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using BouncyCastle in midlet -- Error in console

 
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use Eclipse 3.2 which has j2me plug in.

Previously i asked about encryption in this forum but not much help, so i decided to use bouncy castle encryption package.


runtime error give me the following error message WHEN i click "send" button in my midlet.


i dont think there is wrong with the code.
Is it project setting error ?
Any idea to fix this NoClassDefFoundError?

its urgent.
pls any1 can help ?

thanks in advance.
from
Nick
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure but to me it just looks like that class is missing?
It maybe that you have it in classpath so it works in test but not on cell?
I think you just need to stick that class in the package.

When I work with bouncy I always use it at source level, ie I dont use libs.
Its good but its full of excess stuff, and I pull out as much as I can once its working. I havnt used it on cell, but I think there trimming it down is even more important.

I remember seeing a few article on bcy and cells... probably worth a google.

Good luck...
 
reply
    Bookmark Topic Watch Topic
  • New Topic