Twilio API issue
Hi stackoverflow,
This may be a very simple question, but I am having trouble building a basic sms response application in java. I googled around and couldn't find a solution for my problem. The problem arises when I do the following imports:
import com.twilio.sdk.verbs.TwiMLResponse;
import com.twilio.sdk.verbs.TwiMLException;
import com.twilio.sdk.verbs.Message;
Eclipse throws an error when trying to call and implement the Message class speaking The import com.twilio.sdk.verbs.Message cannot be resolved
. I have no problem with other classes, just the Message class. And I used Maven to compile the project.
Anyone have any solutions and / or solutions for this problem?
source to share
You need to list external libraries in the build path.
In Eclipse, right click on your project> Build Path> Configure Build Path> Libraries> Add JARs (or "Add External JARs" if you haven't copied it to your project folder).
If it still doesn't work, there might be drawbacks that you don't need, so you do too. To save you headache, you can also use Maven to load them automatically .
source to share