Skip to content

aws-java-simple-http-endpoint needs to updated/replaced for the current post 2.0.0 serverless framework #578

Open
@terrybondy

Description

@terrybondy

Tried using aws-java-simple-http-endpoint something like:

git clone https://github.com/serverless/examples.git
cd examples/aws-java-simple-http-endpoint
mvn package
npm init
.
.
.
npm install --save-dev serverless
alias serverless=./node_modules/serverless/bin/serverless.js
alias sls=./node_modules/serverless/bin/serverless.js
'edit serverless.yml to change artifact: build/distributions/aws-java-simple-http-endpoint.zip -> artifact: target/aws-java-simple-http-endpoint.jar'
sls invoke local -f currentTime

and get

  Serverless Error ---------------------------------------
 
  The Serverless version (2.21.1) does not satisfy the "frameworkVersion" (>=1.2.0 <2.0.0) in serverless.yml
 
  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com
 
  Your Environment Information ---------------------------
     Operating System:          darwin
     Node Version:              12.18.1
     Framework Version:         2.21.1 (local)
     Plugin Version:            4.4.2
     SDK Version:               2.3.2
     Components Version:        3.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedjavaPull requests that update Java code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions