Google App引擎上的生产部署问题

问题描述 投票:1回答:1

我正在使用Google App引擎并部署了Web应用程序。我尝试使用App引擎在本地部署代码然后它工作正常但是当我在生产服务器上部署时它会导致错误。

Request : POST 20180909t164211-dot-spry-autumn-140509.appspot.com/_ah/spi/BackendService.getApiConfigs 

(View request) Status : 500 Internal Server Error, Updated Screen shots for error and web.xml configration.

Web.xml configration: 
     <servlet>
            <servlet-name>SystemServiceServlet</servlet-name>
            <servlet-class>com.google.api.server.spi.SystemServiceServlet</servlet-class>
            <init-param>
                <param-name>services</param-name>
                <param-value />
            </init-param>
        </servlet>
        <servlet-mapping>
            <servlet-name>SystemServiceServlet</servlet-name>
            <url-pattern>/_ah/spi/*</url-pattern>
        </servlet-mapping>

生产错误:

Image shows exception occurs on production server.

请给我一些相同的解决方案。

google-app-engine google-cloud-endpoints
1个回答
1
投票

端点v1已关闭。您必须将应用程序迁移到端点v2。见migration instructions

© www.soinside.com 2019 - 2024. All rights reserved.