YouTube Direct - 入门 - 运行eclipse后失败

时间:2013-01-11 23:07:21

标签: google-app-engine eclipse-plugin youtube-api

我疯了。我想直接使用google youtube,我完全按照code.google.com/p/youtube-direct/wiki/GettingStarted

的说明进行操作

但最后,当我尝试在eclipse中运行(调试)YTD以便在本地进行测试时,我得到以下的失败代码而不是消息,服务器在

下可用

(localhost:8080/)

我已安装 - jdk 1.6.0.38& jdk 1.7.0.10 还有最新的谷歌eclipse插件 我已经使用我的id和开发人员密钥

修改了appengine-web.xlm文件

我现在完全迷失了。你可以帮忙吗?感谢

11.01.2013 22:41:39 com.google.apphosting.utils.jetty.JettyLogger info INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger 11.01.2013 22:41:39 com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed C:\Users\martin\workspace1\ytd\war\WEB-INF/appengine-web.xml 11.01.2013 22:41:39 com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed C:\Users\martin\workspace1\ytd\war\WEB-INF/web.xml 11.01.2013 22:41:39 com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties INFO: Overwriting system property key 'java.util.logging.config.file', value 'D:\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.7.4\appengine-java-sdk-1.7.4\config\sdk\logging.properties' with value 'WEB-INF/logging.properties' from 'C:\Users\martin\workspace1\ytd\war\WEB-INF\appengine-web.xml' 11.01.2013 22:41:39 com.google.apphosting.utils.jetty.JettyLogger info INFO: jetty-6.1.x 11.01.2013 22:41:40 com.google.apphosting.utils.jetty.JettyLogger warn WARNUNG: failed com.google.appengine.tools.development.DevAppEngineWebAppContext@4a1c2f8c{/,C:\Users\martin\workspace1\ytd\war}: java.lang.UnsupportedClassVersionError: com/google/ytd/guice/GuiceServletConfig : Unsupported major.minor version 51.0 11.01.2013 22:41:40 com.google.apphosting.utils.jetty.JettyLogger warn WARNUNG: failed JettyContainerService$ApiProxyHandler@75b657: java.lang.UnsupportedClassVersionError: com/google/ytd/guice/GuiceServletConfig : Unsupported major.minor version 51.0 11.01.2013 22:41:40 com.google.apphosting.utils.jetty.JettyLogger warn WARNUNG: Error starting handlers java.lang.UnsupportedClassVersionError: com/google/ytd/guice/GuiceServletConfig : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:213) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.mortbay.jetty.handler.ContextHandler.loadClass(ContextHandler.java:1101) at org.mortbay.jetty.webapp.WebXmlConfiguration.initListener(WebXmlConfiguration.java:630) at org.mortbay.jetty.webapp.WebXmlConfiguration.initWebXmlElement(WebXmlConfiguration.java:368) at org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:289) at org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:222) at org.mortbay.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlConfiguration.java:180) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1247) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:205) at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:232) at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:157) at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:333) at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48) at com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.java:269) at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:245) 11.01.2013 22:41:40 com.google.apphosting.utils.jetty.JettyLogger info INFO: Started SelectChannelConnector@127.0.0.1:8888 11.01.2013 22:41:40 com.google.appengine.tools.development.DevAppServerImpl start INFO: The server is running at http://localhost:8888/ 11.01.2013 22:41:40 com.google.appengine.tools.development.DevAppServerImpl start INFO: The admin console is running at http://localhost:8888/_ah/admin

1 个答案:

答案 0 :(得分:0)

您是否检查过运行它的服务器的端口,您的eclipse控制台消息显示它正在 http:// localhost:8888 / 上运行,并且您正在尝试运行它的的http://本地主机:8080 /

您可以在 http:// localhost:8888 / admin

下看到YTD管理员