Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

Issue with testing Lambda function #1

Open
rrjavadev opened this issue Mar 2, 2021 · 0 comments
Open

Issue with testing Lambda function #1

rrjavadev opened this issue Mar 2, 2021 · 0 comments

Comments

@rrjavadev
Copy link

After following the instructions given in https://guides.micronaut.io/mn-application-aws-lambda-java11/guide/index.html, I have tried to test the code using apigateway-aws-proxy template. Unfortunately the following error pops up. Any idea why this is happening? Thanks a lot.

START RequestId: 5c574e02-f432-45b3-9894-6aacbf4811ea Version: $LATEST
Class not found: example.Hello: java.lang.ClassNotFoundException
java.lang.ClassNotFoundException: example.Hello
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)

END RequestId: 5c574e02-f432-45b3-9894-6aacbf4811ea
REPORT RequestId: 5c574e02-f432-45b3-9894-6aacbf4811ea Duration: 2.30 ms Billed Duration: 3 ms Memory Size: 512 MB Max Memory Used: 89 MB

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant