You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/09/28 08:41:00 UTC

[jira] [Closed] (MNG-6485) Exception in thread "main" java.lang.Error: java.lang.TypeNotPresentException: Type com.amazonaws.services.lambda.runtime.events.SQSEvent not present

     [ https://issues.apache.org/jira/browse/MNG-6485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MNG-6485.
-------------------------------
    Resolution: Invalid

* This is not a support forum, use users@
* You did not copy all dependencies to satisfy the classpath

> 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
>            Priority: Blocker
>         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)