you are right...

I have checked the following: C:\Documents and Settings\Administrator
\Desktop\smslib-v3.3.3-bin\src\java\org

but no "apache" folder is there....

how can I install the required folder and file???

thanks

vit

On 24 Mar, 17:47, Thanasis <[email protected]> wrote:
> You have not installed correctly the log4j jar file.
>
> On Mar 24, 9:27 am, Vit <[email protected]> wrote:
>
> > thank you for the help, but I'm stil gettin some errors when I try to
> > use the SendMessage
>
> > C:\Documents and Settings\Administrator\Desktop\smslib-v3.3.3-bin\dist
> > \classes>j
> > ava examples.modem.SendMessage
> > Example: Send message from a serial gsm modem.
> > Example: Send message from a serial gsm modem.
> > SMSLib: A Java API library for sending and receiving SMS via a GSM
> > modem or othe
> > r supported gateways.
> > This software is distributed under the terms of the Apache v2.0
> > License.
> > Web Site:http://smslib.org
> > Version: 3.3.3
> > Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/
> > log4j/Logg
> > er
> >         at org.smslib.helper.Logger.<init>(Logger.java:41)
> >         at org.smslib.Service.<init>(Service.java:81)
> >         at examples.modem.SendMessage.doIt(SendMessage.java:27)
> >         at examples.modem.SendMessage.main(SendMessage.java:80)
> > Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >         ... 4 more
>
> > C:\Documents and Settings\Administrator\Desktop\smslib-v3.3.3-bin\dist
> > \classes>
>
> > how can I fix this???
> > thanks you and sorry to ask silly questions...
>
> > Cheers
>
> > Vit
>
> > On 24 Mar, 15:30, Thanasis <[email protected]> wrote:
>
> > > Go to the dist/classes directory and type:
>
> > > java examples.modem.ReadMessages
>
> > > Note: The ReadMessages tries to read from COM1. You may have to edit
> > > (and rebuild) the example before you can actually use it.
>
> > > On Mar 24, 5:52 am, Vit <[email protected]> wrote:
>
> > > > re-check it...
> > > >  no lucky ;(
>
> > > > C:\Documents and Settings\Administrator>java -cp smsserver-3.3.3.jar
> > > > examples.mo
> > > > dem.SendMessage
> > > > Exception in thread "main" java.lang.NoClassDefFoundError: examples/
> > > > modem/SendMe
> > > > ssage
> > > > Caused by: java.lang.ClassNotFoundException:
> > > > examples.modem.SendMessage
> > > >         at java.net.URLClassLoader$1.run(Unknown Source)
> > > >         at java.security.AccessController.doPrivileged(Native Method)
> > > >         at java.net.URLClassLoader.findClass(Unknown Source)
> > > >         at java.lang.ClassLoader.loadClass(Unknown Source)
> > > >         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> > > >         at java.lang.ClassLoader.loadClass(Unknown Source)
> > > >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> > > > Could not find the main class: examples.modem.SendMessage.  Program
> > > > will exit.
>
> > > > C:\Documents and Settings\Administrator>
>
> > > > On 24 Mar, 12:35, Aryo Sanjaya <[email protected]> wrote:
>
> > > > > Yes, you are mistyped the 'examples' package, not just 'example'. 
> > > > > Please
> > > > > recheck.
>
> > > > > Aryo Sanjayahttp://facebook.aryosanjaya.net
>
> > > > > On Tue, Mar 24, 2009 at 09:20, Vit <[email protected]> wrote:
>
> > > > > > I have tried with the following
>
> > > > > > C:\Documents and Settings\Administrator>java -cp smsserver-3.3.3.jar
> > > > > > example.mod
> > > > > > em.SendMessage
>
> > > > > > but I get an error message.... it seems that I'm missing 
> > > > > > something....
>
> > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: example/
> > > > > > modem/SendMes
> > > > > > sage
> > > > > > Caused by: java.lang.ClassNotFoundException: 
> > > > > > example.modem.SendMessage
> > > > > >        at java.net.URLClassLoader$1.run(Unknown Source)
> > > > > >        at java.security.AccessController.doPrivileged(Native Method)
> > > > > >        at java.net.URLClassLoader.findClass(Unknown Source)
> > > > > >        at java.lang.ClassLoader.loadClass(Unknown Source)
> > > > > >        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> > > > > >        at java.lang.ClassLoader.loadClass(Unknown Source)
> > > > > >        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> > > > > > Could not find the main class: example.modem.SendMessage.  Program
> > > > > > will exit.
>
> > > > > > C:\Documents and Settings\Administrator>
>
> > > > > > does anyone know wht can I do????
>
> > > > > > thanks
>
> > > > > > Vit
>
> > > > > > On 24 Mar, 09:24, Aryo Sanjaya <[email protected]> wrote:
> > > > > > > You may first modify file src/java/examples/modem/SendMessage.java
>
> > > > > > > Change the modem properties, and the target number, then 
> > > > > > > recompile it.
>
> > > > > > > To run it, exec with:
>
> > > > > > > java -cp YourJar.jar examples.modem.SendMessage
>
> > > > > > > Aryo Sanjayahttp://facebook.aryosanjaya.net
>
> > > > > > > On Tue, Mar 24, 2009 at 07:12, Vit <[email protected]> wrote:
>
> > > > > > > > Hi, I',m here again.....
>
> > > > > > > > I have compiled the smsserver and now???
>
> > > > > > > > I have the .jar file.... how can I use it with the SMS 
> > > > > > > > Example???
>
> > > > > > > > thanks
>
> > > > > > > > vit
>
> > > > > > > > On 24 Mar, 07:22, Vit <[email protected]> wrote:
> > > > > > > > > Thanks, I have found the tools.jar, but now what is the next 
> > > > > > > > > step???
> > > > > > > > > where I have to put the file of SMSLib??? how can I compile 
> > > > > > > > > the
> > > > > > > > > files???
>
> > > > > > > > > thanks
>
> > > > > > > > > vit
>
> > > > > > > > > On 24 Mar, 04:04, Thanasis <[email protected]> wrote:
>
> > > > > > > > > > The "tools.jar" should be located somewhere in the ANT 
> > > > > > > > > > directory
> > > > > > tree.
> > > > > > > > > > Copy it to the java's lib/ext directories.
>
> > > > > > > > > > On Mar 23, 4:50 pm, Vit <[email protected]> wrote:
>
> > > > > > > > > > > Hi All,
> > > > > > > > > > > I'm trying to understand how this solution works
> > > > > > > > > > > I have followed the instruction in the followin link:
> > > > > > > >http://smslib.org/doc/installation/
> > > > > > > > > > > and I have succesfully done the following:
> > > > > > > > > > > - Installed Sun JDK (jdk-6u12-windows-i586-p.exe)
> > > > > > > > > > > - Installed Java Comm
> > > > > > > > > > > - Installed RxTx
> > > > > > > > > > > - Installed Apache ANT
> > > > > > > > > > > - Installed Simple logging facade for Java (slf4j)
> > > > > > > > > > > - Installed Apache Jakarta Commons - NET
> > > > > > > > > > > - Installed Java Mail
>
> > > > > > > > > > > now I should build the SMSLib with Apache Ant, but I'm 
> > > > > > > > > > > having a
> > > > > > lot
> > > > > > > > of
> > > > > > > > > > > issues:
>
> > > > > > > > > > > running ant I get Unable to locate tools.jar
>
> > > > > > > > > > > my question is: where I have to put the SMSLib v3 
> > > > > > > > > > > files????
>
> > > > > > > > > > > how can I compile them????
>
> > > > > > > > > > > thanks
>
> > > > > > > > > > > Vit
--~--~---------~--~----~------------~-------~--~----~
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