Glassware Starter Project(Java)在localhost上运行良好,但在app引擎中运行不正常

时间:2013-06-07 18:31:33

标签: google-mirror-api

我已经从eclipse构建它并在开发服务器上运行,它工作,当我从eclipse在app引擎上部署它时,我得到了以下错误,任何想法为什么?

第一次跳到oauth2舞,但它没有成功,我在api控制台上修复了redirect-url,然后,localhost工作了,我确实再次部署到app引擎上,但它没有用,我得到了这个错误:

Error: 500 Server Error

The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it.

App引擎控制台中的错误日志:

2013-06-07 01:59:36.619 /oauth2callback?code={removed now} 500 2416ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36
68.5.238.205 - - [07/Jun/2013:01:59:36 -0700] "GET /oauth2callback?code={removed now} HTTP/1.1" 500 0 - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36" "{my appid }.appspot.com" ms=2416 cpu_ms=1581 cpm_usd=0.000087 app_engine_release=1.8.0 instance=00c61b117c2c977fac245e8480eff747e75eb6
I 2013-06-07 01:59:34.228
com.google.glassware.AuthFilter doFilter: Skipping auth check during auth flow
I 2013-06-07 01:59:34.230
com.google.glassware.AuthServlet doGet: Got a code. Attempting to exchange for access token.
I 2013-06-07 01:59:35.427
com.google.glassware.AuthServlet doGet: Code exchange worked. User 115370471277937689999 logged in.
W 2013-06-07 01:59:36.614
Error for /oauth2callback
java.lang.NoClassDefFoundError: com/google/common/collect/Lists
    at com.google.glassware.NewUserBootstrapper.bootstrapNewUser(NewUserBootstrapper.java:54)
    at com.google.glassware.AuthServlet.doGet(AuthServlet.java:67)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

1 个答案:

答案 0 :(得分:0)

这看起来像App Engine和Google OAuth端点中的错误。它正在Glass issue tracker中被跟踪。随着调查的进行,您可以将该问题加注星标以接收更新。

同时,请查看.NETPHP快速入门。他们工作得很好。