You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Akanksha Singh (JIRA)" <ji...@apache.org> on 2018/09/28 06:35:00 UTC
[jira] [Created] (MNG-6485) Exception in thread "main"
java.lang.Error: java.lang.TypeNotPresentException: Type
com.amazonaws.services.lambda.runtime.events.SQSEvent not present
Akanksha Singh created MNG-6485:
-----------------------------------
Summary: Exception in thread "main" java.lang.Error: java.lang.TypeNotPresentException: Type com.amazonaws.services.lambda.runtime.events.SQSEvent not present
Key: MNG-6485
URL: https://issues.apache.org/jira/browse/MNG-6485
Project: Maven
Issue Type: Bug
Reporter: Akanksha Singh
Attachments: pom.xml
I have imported the following package in my project:
*import* com.amazonaws.services.lambda.runtime.events.SQSEvent;
and included all the required dependencies in my pom.xml file.
1) mvn clean - SUCCESSFUL
2) mvn package - BUILD SUCCESSFUL
Its is making the .jar file in my /\{project}/target/ folder.
When I am uploading this .jar file on a aws lambda function and running it on lambda, it gives the following error:
*Exception in thread "main" java.lang.Error: java.lang.TypeNotPresentException: Type com.amazonaws.services.lambda.runtime.events.SQSEvent not present*
NOTE: Attaching my pom.xml file
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)