I am doing a project which requires me to send sms from PC via GSM phone. I have googled on this topic and found a very good library relating it. It's SMSLib. I have gone through the library and it's example, but to my surprise I saw every program showing exceptions.
I am using NetBeans and have created a project over there. I have added SMSLib to this project. When I execute the SendMessage.java file which is present in the SMSLib folder, I get exception like this.
This software is distributed under the terms of the Apache v2.0 License.
Web Site: SMSLib
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
Java Result: 1
The main problem I'm facing is the usage of SerialModemGateway();
I don't understand the parameter of the function. I have connected my N72 NOkia phone to PC through USB port, I don't understand what are the parameters I need to use for this function. Please help me out guys.