Closed shantgup closed 4 years ago
Update: Jacob Fuss at sam-cli said that this is because the file does not contain the required files. Looking at the /target/aws-cloudformation-command-handler-1.0-SNAPSHOT.jar/, I see that it is an empty folder. Opening another issue for this.
I'm following this tutorial here [1], and creating a Resource Provider using the cfn CLI.
When I run "sam local invoke TestEntrypoint --event sam-tests/create.json" I get error below.
Now the file does not exist in my "src/main/java/software/amazon/cloudformation//"
But I see 3 of them in /target/classes/software/amazon/cloudformation/. There's HandlerWrapper.class, HandlerWrapper$1.class, HandlerWrapper$2.class, HandlerWrapper$3.class.
Also, my build steps have been as follows:
Any help to troubleshoot / fix this would be greatly appreciated.
[1] - https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-walkthrough.html