Heya.

That line is basically:

CurrencyConverter cc = new CurrencyConverter();


On Fri, Mar 27, 2009 at 3:52 AM, Thanasis <[email protected]> wrote:

>
> Hi,
>
> Judging from the stack trace, I would say that the problem lies
> somewhere in your code. It seems that you hit a NoClassDefFound
> exception, which is just delegated back to the Inbound Notification
> method. Check that everything in the SMSLib's notification method runs
> as expected.
>
> On Mar 26, 4:32 pm, David Chua <[email protected]> wrote:
> > Hi guys,
> >
> > Has anyone encountered problem using Axis in their java program
> concurrently
> > with SMSLib?
> >
> > I'm trying to invoke a webservice after receiving a sms with a particular
> > keyword. But there seem to be some kind of conflict between Axis's
> Service
> > class and SMSLib's Service class.
> >
> > Using the ReadMessage.java example, upon receiving a message, I'm calling
> a
> > class called "CurrencyConverter"
> >
> > http://stikked.com/view/94910993(here's<http://stikked.com/view/94910993%28here%27s>the
> >  source for
> > CurrencyConverter.java)
> >
> > Which brings this error:
> >
> > Exception in thread "SMSLib-CNMIEmulator : modem.com1"
> > java.lang.NoClassDefFoundError:
> > org/apache/commons/discovery/tools/DiscoverSingleton
> >         at
> > org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at
> >
> org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:
> 41)
> >         at
> > org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
> >         at
> > org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
> >         at org.apache.axis.client.Service.getAxisClient(Service.java:104)
> >         at org.apache.axis.client.Service.<init>(Service.java:113)
> >         at sms.CurrencyConverter.convert(CurrencyConverter.java:24)
> >         at sms.Main$InboundNotification.process(Main.java:161)
> >         at
> >
> org.smslib.modem.AModemDriver$CNMIEmulatorProcessor.run(AModemDriver.java:9
> 84)
> >
> > Has anyone encountered this before?
> >
> > Warmest regards,
> > David
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to