Java 在谷歌应用程序引擎中访问REST

Java 在谷歌应用程序引擎中访问REST,java,google-app-engine,Java,Google App Engine,我对GAE非常陌生,如果问题是基本的,很抱歉,但我已经尝试了这么久 在localhost中,我需要的一切都可以正常工作 localhost:8888/rest/users 现在,在部署之后,如何访问相同的资源,我尝试了: appname.appspot.com/rest/users appname.appspot.com/_-ah/spi/users但这会返回我错误请求400{“错误消息”:“缺少/{Service}.{method}”} 编辑: 这是开始消息: févr. 10, 2017

我对GAE非常陌生,如果问题是基本的,很抱歉,但我已经尝试了这么久 在localhost中,我需要的一切都可以正常工作

localhost:8888/rest/users
现在,在部署之后,如何访问相同的资源,我尝试了:

appname.appspot.com/rest/users
appname.appspot.com/_-ah/spi/users
但这会返回我
错误请求400{“错误消息”:“缺少/{Service}.{method}”}

编辑:

这是开始消息:

févr. 10, 2017 4:09:43 PM com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties
INFO: Overwriting system property key 'java.util.logging.config.file', value 'D:\Tools\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.9.34\appengine-java-sdk-1.9.34\config\sdk\logging.properties' with value 'WEB-INF/logging.properties' from 'D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp17\MyModandaApp\WEB-INF\appengine-web.xml'
févr. 10, 2017 4:09:44 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
févr. 10, 2017 3:09:47 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: jetty-6.1.x
févr. 10, 2017 3:09:57 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Started SelectChannelConnector@127.0.0.1:8888
févr. 10, 2017 3:09:57 PM com.google.appengine.tools.development.JettyContainerService startHotDeployScanner
INFO: Full scan of the web app in place every 5s.
févr. 10, 2017 3:09:57 PM com.google.appengine.tools.development.AbstractModule startup
INFO: Module instance default is running at http://localhost:8888/
févr. 10, 2017 3:09:57 PM com.google.appengine.tools.development.AbstractModule startup
INFO: The admin console is running at http://localhost:8888/_ah/admin
févr. 10, 2017 3:09:57 PM com.google.appengine.tools.development.DevAppServerImpl doStart
INFO: Dev App Server is now running
févr. 10, 2017 3:20:12 PM com.google.appengine.tools.development.JettyContainerService$2 filesChanged
INFO: A file has changed, reloading the web application.
févr. 10, 2017 3:20:12 PM com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties
INFO: Overwriting system property key 'java.util.logging.config.file', value 'D:\Tools\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.9.34\appengine-java-sdk-1.9.34\config\sdk\logging.properties' with value 'WEB-INF/logging.properties' from 'D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp17\MyModandaApp\WEB-INF\appengine-web.xml'
févr. 10, 2017 3:22:57 PM com.google.appengine.tools.development.JettyContainerService$2 filesChanged
INFO: A file has changed, reloading the web application.
févr. 10, 2017 3:22:57 PM com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties
INFO: Overwriting system property key 'java.util.logging.config.file', value 'D:\Tools\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.9.34\appengine-java-sdk-1.9.34\config\sdk\logging.properties' with value 'WEB-INF/logging.properties' from 'D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp17\MyModandaApp\WEB-INF\appengine-web.xml'

有时,应用程序名称与应用程序ID可能会混淆。在云控制台的GAE版本页面中,检查
Version
列中的URL,并向其中添加
/rest/users
。您能否在帖子中包含本地服务器启动时显示的文本?它应该显示它在8888端口提供的服务-您可能需要在版本中选择匹配的特定服务/模块page@DanCornilescu谢谢你的回复,但它告诉我:不是found@DanCornilescu编辑帖子您在这些请求的日志中看到了什么?