skip to Main Content

Twillio – Requested resource Messages.json was not found

can anyone tell me how to resolve this problem. Java code is like below. @Service public class TwilioServiceProvider { private static final String ACCOUNT_SID = "ACbfadc94adf90fd6606222566aab3ef4"; private static final String AUTH_TOKEN = "f***********************"; public void sendMessage(String mobileNo){ Twilio.init(ACCOUNT_SID,AUTH_TOKEN); Message message…

VIEW QUESTION

Twilio: java.lang.NoClassDefFoundError: com/twilio/sdk/TwilioRestException – Twillio

I am trying to send a sms using twillio, here the code: import com.twilio.sdk.TwilioRestClient; import com.twilio.sdk.TwilioRestException; import org.apache.http.NameValuePair; import org.apache.http.auth.Credentials; import org.apache.http.message.BasicNameValuePair; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.logging.Logger; public class…

VIEW QUESTION
Back To Top
Search