小编Dav*_*vid的帖子

IntelliJ IDEA Config cant find AWS Lambda Handler in Default 'helloworld' Application

When setting the debug configurations for the default IntelliJ IDEA Java helloworld application (created upon making a new AWS Lambda project) the following response is shown:

Error: Cannot find handler 'helloworld.App::handleRequest' in project."

To fix this I've tried editing 'Handler' element inside template.yaml to include a filepath, though there had been no success.

Resources:
  HelloWorldFunction:
    Type: AWS::Serverless::Function
    Properties:
      CodeUri: HelloWorldFunction
      Handler: helloworld.App::handleRequest
Run Code Online (Sandbox Code Playgroud)

I noticed the Python AWS Lambda helloworld project (within the PyCharm counterpart) required me to change the root …

java intellij-idea aws-lambda aws-sam-cli aws-toolkit

8
推荐指数
1
解决办法
810
查看次数