是否可以使用appengine模块和云端点? [英] Is it possible to use appengine modules and and cloud endpoints?

查看:155
本文介绍了是否可以使用appengine模块和云端点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用appengine模块意味着创建动态web应用程序,而不是通常的appengine web应用程序项目。云端点与通常的appengine Web应用程序项目很好地协同工作,但它们不支持appengine模块。



问题是,如果我尝试生成云端点客户端库动态Web应用程序,我收到一个错误不是一个App Engine项目。



有没有办法让动态Web应用程序被识别为App Engine项目是否可以生成云端点客户端库?

解决方案

这个案例的解决方案在FrançoisPOYER答案中,如果您使用WTP创建和管理您的appengine应用程序和EAR:

$ b


$ b


  1. 确保您处于Java EE透视图中

  2. 右键单击您的云端点项目=> Google App引擎WTP =>生成云端点客户端库

如果您没有看到 Google App Engine WTP ,你只能看到Google,可能你还没有选择Java EE透视图。



你不必为此使用maven ,只需使用WTP创建和管理您的EAR和appengine应用程序即可。


Using appengine modules implies creating dynamic web application instead of the usual appengine web application project. Cloud endpoints work well with the usual appengine Web Application projects, but these do not support appengine modules.

The problem is that if I try to generate cloud endpoint client library on a Dynamic Web Application, I get an error "Not an App Engine project".

Is there any way to get a Dynamic Web Application to be recognized as an App Engine project so that cloud endpoint client libraries can be generated on it?

解决方案

The solution to this case is within François POYER answer, but here is a version with no maven assumed.

If you are using WTP to create and manage your appengine application and EAR:

  1. Ensure you are in the Java EE perspective
  2. Right click on your cloud endpoints project => "Google App Engine WTP" => "Generate Cloud Endpoint Client Library"

If you do not see Google App Engine WTP and you only see "Google", its likely you have not selected the Java EE perspective.

You do not have to use maven for this, simply use WTP to create and manage your EARs and appengine applications.

这篇关于是否可以使用appengine模块和云端点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆