appengine endpoint Failed to retrieve API configs with status: 500

后端 未结 4 989
借酒劲吻你
借酒劲吻你 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:20

    I had the same issue and I had to delete my web.xml and redo it via a template. More specifically this section:

    servlet-name>SystemServiceServlet
        com.google.api.server.spi.SystemServiceServlet
        
            services
            YOUR-API-CLASS
        
    
    

    Also, make sure that you have your API defined in your API class. Here is just a sample configuration.

    @Api(name = "apiname", version = "1.00",
        scopes = (Constants.EMAIL_SCOPE) , clientIds = {
        Constants.WEB_CLIENT_ID,
        Constants.API_EXPLORER_CLIENT_ID },
        description = "API Description")
    

提交回复
热议问题