小编Ven*_*nky的帖子

在AppEngine上使用谷歌云端点

我通常在AppEngine(Java)上使用Google Cloud Endpoints,如下所述:

https://cloud.google.com/appengine/docs/java/endpoints/helloendpoints-java-maven

我使用的端点库的依赖关系是:

<plugin>
   <groupId>com.google.appengine</groupId>
   <artifactId>appengine-endpoints</artifactId>
   <version>1.9.48</version>
</plugin>
Run Code Online (Sandbox Code Playgroud)

使用此命令,我可以使用以下命令启动本地开发服务器:mvn clean package appengine:devserver

但是,似乎有一个新版本的云端点. https://cloud.google.com/endpoints/docs/frameworks/java/quickstart-frameworks-java.

新框架可在此处找到

<dependency>
<groupId>com.google.endpoints</groupId>
<artifactId>endpoints-framework</artifactId>
<version>${endpoints.framework.version}</version>
</dependency>
Run Code Online (Sandbox Code Playgroud)

相同的maven命令在这里不起作用.我无法启动本地开发服务器,打开API资源管理器或使用本地数据存储区(所有这些都可能更早).有人可以指导我如何使用新框架.

此外,前框架是否可能被弃用?

java google-app-engine google-cloud-endpoints

5
推荐指数
2
解决办法
1120
查看次数