1

我已经从 eclipse 构建它并在开发服务器上运行,它可以工作,当我从 eclipse 将它部署到应用程序引擎上时,我收到以下错误,知道为什么吗?

它第一次进入 oauth2 dance,但没有成功,我在 api 控制台上修复了 redirect-url,然后,localhost 工作了,我确实再次部署到应用程序引擎上,但它没有工作,我收到此错误:

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)
4

1 回答 1

0

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

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

于 2013-06-07T21:19:10.427 回答