我们在Java (App Engine)后端使用url-fetch服务,并使用它对运行在容器引擎上的其他组件进行HTTP调用。对于一个特定的请求,我们看到它相当一致地给出了以下错误:
java.io.IOException: Malformed HTTP reply received from server at URL: ...
at com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:159)
at com.google.appe
在尝试从netbeans部署我的google app engine应用程序时,我得到以下错误:
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=programworks&version=1&
400 Bad Request
Java 6 applications are prevented from being deployed to Google App Engine
在本地Google开发服务器上,我在调用NullPointerException时得到一个BlobstoreService.createUploadUrl()
java.lang.NullPointerException
at com.google.appengine.api.blobstore.dev.LocalBlobstoreService.getCurrentInstancePort(LocalBlobstoreService.java:257)
at com.google.appengine.api.blobstore.dev.LocalBlobsto
我真的很困惑如何将一个旧的Google项目转换为Gradle。
我试图按照页面上的说明进行操作。它建议从以下构建脚本开始:
buildscript { // Configuration for building
repositories {
jcenter() // Bintray's repository - a fast Maven Central mirror & more
mavenCentral()
}
dependencies {
classpath 'com.google.cloud.tools:appeng
这一端说它可以通过提供的代码支持https。然而,Appengine SDK抱怨说:
java.net.InetAddress is not supported by Google App Engine's Java runtime environment
java.net.Socket is not supported by Google App Engine's Java runtime environment
javax.net.ssl.SSLSession is not supported by Google App Engine's Java runti
我正在使用GWT编写一个应用程序,我想将其部署到Google app Engine。我想使用JRE中的一些类,比如JRE Class White List - 上列出的java.io.BufferedReader; java.net.URL javax.crypto.Cipher java.util.zip.InflaterInputStream
我正在使用eclipse,当我试图在本地运行我的应用程序时,编译器会抛出像[ERROR] [gwtlist] - Line 46: No source code is available for type java.net.URL; did you
我遵循教程:https://www.jetbrains.com/help/idea/getting-started-with-google-app-engine.html#run_googleapp,在尝试运行代码时,我遇到了一个错误 java.lang.IllegalArgumentException: the Java7 runtime is not supported anymore.
at com.google.appengine.tools.development.SharedMain.configureRuntime(SharedMain.java:258)
at com.goo
我的build.gradle
buildscript { // Configuration for building
repositories {
jcenter() // Bintray's repository - a fast Maven Central mirror & more
mavenCentral()
}
dependencies {
classpath 'com.google.cloud.tools:appengine-gradle-plugin:+' // latest App Engin
在Java中,App Engine的createLogoutURL( url )函数的url参数的最大长度是多少?
我们得到了这个异常:
java.lang.IllegalArgumentException: URL too long
at com.google.appengine.api.users.UserServiceImpl.makeSyncCall(UserServiceImpl.java:126)
at com.google.appengine.api.users.UserServiceImpl.createLogoutURL(UserServiceImpl.java:77
在我的轻量级web应用程序中,我想使用HSQLDB。
在启动HSQLDB时,我使用的url是这样的:"jdbc:hsqldb:file:./database/“。
在本地tomcat上,一切正常,但在google-app-engine上,我得到了下面的异常;
Constructor threw exception; nested exception is com.hp.hpl.jena.sdb.SDBException: SQL Exception while connecting to database: jdbc:hsqldb:file:./database/appname : F
当我将我的项目与Gradle文件同步时,我得到以下错误:
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id 'appengine']
和
Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'classesDir' for functional test classes of type org.gradle.ap
我正在尝试将我的Java应用程序的0-8-1-SNAPSHOT版本部署到Google App Engine。我得到以下错误:
com.google.appengine.tools.admin.AdminException: Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=versature-dashboardhr&version=0-8-1-SNAPSHOT&
400 Bad Request
Error when loadi
在app-engine中获取url及其内容的首选方法是什么?
这就是我现在所做的:
URL google = new URL("http://www.google.com");
google.openStream();
这是我收到的警告
Mar 6, 2010 4:11:50 AM org.apache.commons.httpclient.HttpMethodBase getResponseBody
WARNING: Going to buffer response body of large or unknown size.
Using getRespon
我正在尝试将一个已经在我的本地服务器上运行的web应用程序部署到GAE.The,但是我无法克服这些错误:
com.sun.net.httpserver。Google App Engine的Java运行时环境不支持HttpExchange
Google App Engine的Java运行时环境不支持com.sun.net.httpserver.Headers
Google App Engine的Java运行时环境不支持com.sun.net.httpserver.HttpHandler
Google App Engine的Java运行时环境不支持java.net.InetSocketAddres
我已经将Django部署到了连接到Cloud SQL (PostgreSQL)实例的App Engine上。我一直收到以下错误: OperationalError: could not connect to server: Connection timed out 和 OperationalError: could not connect to server: Connection refused app.yaml # [START django_app]
runtime: python37
service: prestige-worldwide
handlers:
# This con