HI
Possibly doing something wrong here but I have a few queries… using aws java maven project and having a few issues
- I would assume that once a Lambda is built I should use serverless package to create the bundle off of which invoke-bridge works ? If I run serverless invoke local my function is called but the classpath is limited to the directory of invoke-bridge.jar and I can’t see how to add other jar files by way of classpath setting on CLI option ?
2 If it is picking up my handler from the maven’ed jar file I don’t understand why it isn’t picking up another class inside it (in this case mysql driver)
should invoke local run off the serverless packaged archive and be able to find everything without classpath modification or am I doing something wrong ?
thanks