You Are Here:

Community: Developer Discussion Boards

#1 Old Nokia 6280 No Class Def Found Error - 2008-04-09, 10:00

Join Date: Dec 2007
Posts: 3
dave200
Offline
Registered User
Hi, I've got the following problem:

my aplication use class DefaultHandler
(org.xml.sax.helpers.DefaultHandler), there are four classes which extends this class
the problem occurs when I'm running my program on Nokia 6280 (it was tested on several other devices and emulators e.g. Nokia E51 or Nokia N70) - the problem occurs when I'm trying to create object of the class which extends DefaultHandler (comunicate on the phone is: No Class Def Found Error java/lang/NoClassDefFoundError org/xml/sax/helpers/DefaultHandler)

Like I was saying the application works without any problems on any other phone, but on this there is this bug. Does anyone could help me with this beacuse I can't find any solution of this from the very long time. I will be very greatfull for any help.

Sorry for my english :)
Reply With Quote

#2 Old Re: Nokia 6280 No Class Def Found Error - 2008-04-09, 17:52

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
E51 and N70 support JSR-172 (Web Services API). 6280 (which is a Series 40 3rd Edition device) does not. hence the org.xml... classes do not exist on the phone
http://www.forum.nokia.com/devices/6280

Hartti
Reply With Quote

#3 Old Re: Nokia 6280 No Class Def Found Error - 2008-04-10, 13:57

Join Date: Dec 2007
Posts: 3
dave200
Offline
Registered User
Thanks for your reply, I've got a question: is it possible to compile source code of classes which are use from JSR 172 with the whole project and run on the phone which does not support JSR 172, do you think that this kind of solution can help? or maybe when the mobile phone does not support some JSR it is immposible to run a program which used this JSR.
Reply With Quote

#4 Old Re: Nokia 6280 No Class Def Found Error - 2008-04-10, 21:02

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
JSR-172 can be really implemented using Java only, so yes in theory this is possible (you ned to check the RI for this is they are using standard Java ME classes only). However, you need to have a separate version of the MIDlet for JSR-172 devices (without the Web Service classes).

Hartti
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
error LNK2019: unresolved external symbol ??? wgarnett General Symbian C++ 3 2009-09-28 07:53
新手求救!錯誤訊息! wgarnett Symbian 2 2005-09-26 03:21
code warrior problems mayankkedia Carbide.c++ IDE and plug-ins 2 2004-10-25 07:59

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia