appengine endpoint Failed to retrieve API configs with status: 500

后端 未结 4 986
借酒劲吻你
借酒劲吻你 2020-12-11 16:25

I run appengine local dev server in eclipse with params 0.0.0.0

When I try to access any of the methods I get the following error. I get the same error if I try to a

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-11 17:10

    I recently encountered a similar problem, and mine was caused by having public methods with an @ApiMethod. To fix this I re-factored my code to make the methode private. But I could have added a line like this before the new method:

    @ApiMethod(name = "yourNewPublicMethod", path = "profile", httpMethod = HttpMethod.POST)
    

提交回复
热议问题