Skip to content Skip to sidebar Skip to footer

Java.lang.classnotfoundexception For Package Com.twilio.sdk

This is in continuation to my previous question: Getting compile error: package com.twilio.sdk does not exist I got to resolve the complie error and now trying to run the uiautomat

Solution 1:

You are trying to crate a uber jar containing the class files in all the dependency jars. Use ZipFileSet ant element. Please see uber jar using ant for example.

Solution 2:

Following jar files are required to run twilio properly

  1. commons-httpclient-3.1.jar
  2. commons-logging.jar
  3. gwt-twilio-1.1.jar
  4. twilio-java-sdk-3.3.14.jar
  5. org.apache.httpcomponents.httpclient_4.3.1.jar

You have not provided the full stacktrace.I have done few projects in twilio and I use the above jar files otherwise classnotfound error occurs

Post a Comment for "Java.lang.classnotfoundexception For Package Com.twilio.sdk"