0

我疯了。我想直接使用 google youtube,并且我完全按照 code.google.com/p/youtube-direct/wiki/GettingStarted 的说明进行操作

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

(localhost:8080/)

我已经安装了 - jdk 1.6.0.38 和 jdk 1.7.0.10 也是最新的 google eclipse 插件我已经修改了 appengine-web.xlm 文件,如我的 ID 和开发人员密钥所述

我现在完全迷失了。愿你能帮忙。谢谢

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

4

1 回答 1

0

您是否检查过它正在运行的服务器的端口,您的 Eclipse 控制台消息说它正在http://localhost:8888/上运行,并且您正在尝试在http://localhost:8080/上运行它

您可以在http://localhost:8888/admin下看到 YTD管理员

于 2013-01-12T08:52:33.007 回答