title: AWS Lambda: ClassNotFoundException
body: <p>I currently get a ClassNotFoundException whenever I try to test my Lambda function on AWS Lambda. The exception is shown here: </p>
  
  <p><a href="https://i.stack.imgur.com/2HZ0F.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/2HZ0F.jpg" alt="https://i.imgur.com/nD2OUOJ.jpg"></a></p>
  
  <p>I've searched online, including this link here: <a href="https://stackoverflow.com/questions/42693229/aws-lambda-class-java-lang-classnotfoundexception">AWS Lambda: class java.lang.ClassNotFoundException</a>, to no avail. </p>
  
  <p>I am working in Android Studio and created a JAR file (using this link: <a href="https://stackoverflow.com/questions/21712714/how-to-make-a-jar-out-from-an-android-studio-project">How to make a .jar out from an Android Studio project</a>) to use to upload the class to the AWS Lambda console. </p>
  
  <p>Below is the structure of my project:</p>
  
  <p><a href="https://i.stack.imgur.com/Sn8x1.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Sn8x1.jpg" alt="https://i.imgur.com/CFC8cA4.jpg"></a></p>
  
  <p>When I upload my JAR file to the AWS Lambda console, the Configuration tab looks like this:[<img src="https://i.stack.imgur.com/ors7D.jpg" alt="https://i.imgur.com/s9kovF7"></p>
  
  <p>I was previously told that it could have been because my JAR file was not an executable JAR file with a MANIFEST.MF file, but I definitely have that. </p>
  
  <p>Any other reason as to why this error consistently pops up and how to fix it?</p>