问题标签 [gae-eclipse-plugin]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - GAE Eclipse:跨模块引用
我在 Eclipse 中为 Google AppEngine (GAE) 设置了一个带有 EAR 和两个 WAR 项目 (=modules) 的项目。我想在模块 B 中引用模块 A 中的类。我该怎么做呢?
到目前为止我做了什么:
我已经将模块A添加到模块B的构建路径中。这解决了编译器的问题,但并没有解决运行时引用类的问题。我收到一个 java.lang.NoClassDefFoundError。
语境:
GAE 模块共享相同的数据存储,所以我想访问相同的持久性类。这些类在模块 A 中定义和增强。在这方面最好的做法是什么?
android - Error while generating client library in google app engine sdk - 1.9.6
I have update my eclipse app engine plugin version to 1.9.6 and its creating problem for me. Whenever i try to Generate Cloud endpoint client library
at that time its throwing exception and library is not generated. I searched on this issue but no success. If anypne have solved this issue then please help me to get over this problem.
Thank you.
Error Stack:
google-app-engine - App Engine 未加载 queue.xml
我有一个多模块样式的 Google App Engine 应用程序。它有一个主要的 Java 企业项目 (eap),它引用了 3 个动态 Web 项目。一切都很好。
除了任务队列..我正在尝试创建自己的自定义任务队列。我在我的 EAP 项目中创建了一个 WEB-INF 文件夹,在 META-INF 文件夹旁边。我在那里创建了一个 queue.xml 文件(粘贴在下面)。
当我转到 cloud.google.com 的管理员区域并单击任务队列时,我只看到“默认”队列,我的推送队列不在那里..
部署后,我看不到任何错误,只是:
我的 queue.xml(在我的 EAP 的 WEB-INF 文件夹中,也添加到了我的动态 Web 项目的 WEB-INF 文件夹中,但在那里被忽略了)。
google-app-engine - 无法通过我的 ip 访问本地 GAE 服务器
我开发了一个使用 GAE 作为后端的应用程序,当我在本地运行 GAE 服务器时,我可以通过浏览器访问它,localhost:8888
但是当我尝试从同一个 wifi 网络上的外部设备访问时,我<my local ip>:8888
没有得到任何响应。我一直在使用这种方式来调试我的应用程序和后端,但它突然停止工作了?
jsp - Cannot Deploy Servlet Application on Google App Engine
At first I have successfully deployed it but when running it has a problem is that it cannot found my servlet file to forward the page then I realized that I forgot to configure a servlet in the web.xml file thus I add servlet tag to web.xml file but when I try to deploy it again it show this message
"Error: Server Error The server encountered an error and could not complete your request. Please try again in 30 seconds."
so I try to remove a servlet tag in web.xml file then it can be deployed as the first time. So I think the problem is caused by the servlet tag but I put it back to web.xml file now. I don't know what to do. please help.
this is web.xml file
this is my servlet
this is appengine-web.xml
java - 使用 Google App Engine 和 Android 注册应用程序/部署
我正在尝试使用 Eclipse 和提供的 Google 插件在应用程序引擎上部署一个非常简单的应用程序。
我创建了最简单的 Android 应用程序,它启动了插件生成的 RegisterActivity,我在其中插入了 ID、Api Key 和项目编号。然后我单击按钮,但收到此错误消息:
虽然,控制台告诉我有一个实例正在运行,并且 CloudEndpointUtils.java 中的 LOCAL_ANDROID_RUN 变量设置为 false。
事实上,例如这个 URL 似乎是:http: //blabla-my-app67.appspot.com/_ah/api/explorer%20pagereturns me 404 error。
这怎么可能,我做错了什么?
非常感谢您。
铝
编辑 :
blabla-my-app67.appspot.com/_ah/api/explorer 不是 404,但http://blabla-my-app67.appspot.com/_ah/api是。
编辑解决方案: 您绝对需要使用 java JRE 1.7 进行编译!
java - 带有 cassandra 的 Google 应用引擎 java 修改线程组错误
我在 Google Web 应用程序中遇到 CassandraDB 问题
我一直在使用 Eclipse(Java EE IDE),在其中安装了所有谷歌插件,并开发了一个示例谷歌网络应用程序。它已部署到网络上,并且工作正常。
现在我想使用我的 CassandraDB。这里我使用 Cassandra API 连接数据库。所有需要的 jar 文件都放在 WEB-INF 文件夹中的 lib 目录中,并添加到类路径中。但是,当我运行我的应用程序时,它给了我一个 java.security.AccessControlException:
p>有关如何解决此异常的任何建议?
eclipse - 在 Eclipse 中更改默认浏览器
我正在使用Eclipse Luna
并且我已经使用 Google App Engine SDK 创建了一个应用程序。
当我尝试将我的应用程序部署到 GAE 时,登录到 Google 服务窗口打开,当我提供我的 Google 凭据时,它会显示另一个带有帐户权限的窗口。但我无法在此窗口中单击接受和取消按钮,因为此窗口使用Internet Explorer嵌入窗口显示该页面。由于 IE 中的问题,这些按钮被禁用。
所以我把我的浏览器从火狐换成Window => Preferences => General => Web Browser
了火狐。但是登录到谷歌服务窗口仍然在 IE 嵌入式窗口中打开。
如何将其更改为在 Firefox 嵌入式窗口中打开?
java - 如何在 GAE 中使用 WordNet
我正在尝试在 GAE 中使用 WordNet,但我收到了下面提到的错误。在 appengine 属性的帮助下指定目录后,我可以访问 WordNet。不确定 GAE 是否允许 WordNet 读取其文件的那种阅读方式。整个异常跟踪都在那里,最后一行是我调用 WordNet synset API 的函数。该程序在我的机器上作为 Web 应用程序本地执行时运行良好。所以我的逻辑没有错。仅当我尝试将代码部署到 GAE 时才会出现此问题。目前我正在尝试访问 WordNet jar 提供的 synsets API。
java - GAE:defaultDeadline 是一个无法识别的元素
我正在尝试在我的 GAE 项目中更改 URLFetch 的截止日期。但是,我收到一个异常,告诉我它是一个无法识别的元素。在 Eclipse 中,我转到属性 -> Google -> App Engine 并确认我使用的是最新的 SDK (1.9.28)。
这是我的 appengine-web.xml:
和例外: