title: AWS Lambda: class java.lang.ClassNotFoundException
body: <p>I am getting this message and I have no idea how to resolve it. Searched online and tried to implement their suggestion, but no luck yet.
  <a href="https://i.stack.imgur.com/WxjW9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/WxjW9.png" alt="enter image description here"></a></p>
  
  <p>I basically followed the instructions specified in this link -
  <a href="http://docs.aws.amazon.com/toolkit-for-eclipse/v1/user-guide/lambda-tutorial.html" rel="noreferrer">http://docs.aws.amazon.com/toolkit-for-eclipse/v1/user-guide/lambda-tutorial.html</a></p>
  
  <p>But instead of uploading the project using the AWS Management Console embedded in Eclipse, I tried to create a zip of my project and upload it to the AWS web console.</p>
  
  <p>Below is structure of my project -
  <a href="https://i.stack.imgur.com/zN39p.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zN39p.png" alt="enter image description here"></a></p>
  
  <p>That is it!! There is nothing fancy that I am trying to do here. It is just a HelloWorld example in Lambda.</p>
  
  <p>Now, this is how I am creating the zip file, which is pretty straight forward in Eclipse -
  <a href="https://i.stack.imgur.com/cRM7H.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cRM7H.png" alt="enter image description here"></a></p>
  
  <p>Once the zip is created I uploaded it to AWS Web console under the code tab -
  <a href="https://i.stack.imgur.com/oczUl.png" rel="noreferrer"><img src="https://i.stack.imgur.com/oczUl.png" alt="enter image description here"></a></p>
  
  <p>The Configuration tab looks something like this -
  <a href="https://i.stack.imgur.com/HOeqy.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HOeqy.png" alt="enter image description here"></a></p>
  
  <p>Now when I am clicking the Test button it is unable to find the example.Hello class.</p>
  
  <p>How come it is becoming so difficult for the Lambda Function to find this class? Can anyone suggest what possibly is going wrong in this execution??</p>
  
  <p>Also attached the log statement, in case it helps -</p>
  
  <p><a href="https://i.stack.imgur.com/S4GzJ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/S4GzJ.png" alt="enter image description here"></a></p>