最近想将 B3LOG 部署到 GAE,所以尝试部署,一直出现问题
先说明环境:
JDK 1.7.0_25
GAE SDK 1.8.6
B3LOG Solo 0.6.1 GAE 版(在百度网盘下载)
本地启动提示错误信息
十月 17, 2013 1:34:58 上午 com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed D:\001Program\001Code\Eclipse\00default\B3log\war\WEB-INF/appengine-web.xml
十月 17, 2013 1:34:58 上午 com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed D:\001Program\001Code\Eclipse\00default\B3log\war\WEB-INF/web.xml
十月 17, 2013 1:34:58 上午 com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties
INFO: Overwriting system property key 'java.util.logging.config.file', value 'C:\000MyProgram\appengine-java-sdk-1.8.6\config\sdk\logging.properties' with value 'WEB-INF/classes/logging.properties' from 'D:\001Program\001Code\Eclipse\00default\B3log\war\WEB-INF\appengine-web.xml'
十月 17, 2013 1:34:58 上午 com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
十月 16, 2013 5:34:59 下午 com.google.apphosting.utils.jetty.JettyLogger info
INFO: jetty-6.1.x
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
十月 16, 2013 5:35:00 下午 com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: failed com.google.appengine.tools.development.DevAppEngineWebAppContext@18ad71{/,D:\001Program\001Code\Eclipse\00default\B3log\war}: java.lang.IllegalAccessError: Class com.google.appengine.tools.development.agent.runtime.Runtime can not access a member of class freemarker.log.JDK14LoggerFactory with modifiers ""
十月 16, 2013 5:35:00 下午 com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: failed JettyContainerService$ApiProxyHandler@85ba73: java.lang.IllegalAccessError: Class com.google.appengine.tools.development.agent.runtime.Runtime can not access a member of class freemarker.log.JDK14LoggerFactory with modifiers ""
十月 16, 2013 5:35:00 下午 com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: Error starting handlers
java.lang.IllegalAccessError: Class com.google.appengine.tools.development.agent.runtime.Runtime can not access a member of class freemarker.log.JDK14LoggerFactory with modifiers ""
at freemarker.log.Logger.createFactory(Logger.java:335)
at freemarker.log.Logger.createFactory(Logger.java:304)
at freemarker.log.Logger.selectLoggerLibrary(Logger.java:163)
at freemarker.log.Logger.getLogger(Logger.java:266)
at org.b3log.latke.user.UserServiceFactory.<clinit>(UserServiceFactory.java:35)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)
at com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)
at org.b3log.solo.processor.ErrorProcessor.<clinit>(ErrorProcessor.java:79)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1057)
at java.lang.reflect.Field.getFieldAccessor(Field.java:1038)
at java.lang.reflect.Field.set(Field.java:741)
at com.google.appengine.tools.development.agent.runtime.Runtime$12.run(Runtime.java:257)
at com.google.appengine.tools.development.agent.runtime.Runtime.verifyAndRun(Runtime.java:374)
at com.google.appengine.tools.development.agent.runtime.Runtime.set(Runtime.java:254)
at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:519)
at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:502)
at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:486)
at javassist.util.proxy.ProxyFactory.createClass1(ProxyFactory.java:422)
at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:394)
at org.b3log.latke.ioc.bean.BeanImpl.<init>(BeanImpl.java:209)
at org.b3log.latke.ioc.config.impl.ConfiguratorImpl.createBean(ConfiguratorImpl.java:192)
at org.b3log.latke.ioc.config.impl.ConfiguratorImpl.createBeans(ConfiguratorImpl.java:217)
at org.b3log.latke.ioc.Lifecycle.startApplication(Lifecycle.java:99)
at org.b3log.latke.servlet.AbstractServletListener.contextInitialized(AbstractServletListener.java:103)
at org.b3log.solo.SoloServletListener.contextInitialized(SoloServletListener.java:111)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
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:249)
at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:306)
at com.google.appengine.tools.development.AutomaticInstanceHolder.startUp(AutomaticInstanceHolder.java:26)
at com.google.appengine.tools.development.AbstractModule.startup(AbstractModule.java:79)
at com.google.appengine.tools.development.Modules.startup(Modules.java:88)
at com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:254)
at com.google.appengine.tools.development.DevAppServerImpl.access$000(DevAppServerImpl.java:47)
at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:212)
at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:210)
at java.security.AccessController.doPrivileged(Native Method)
at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:210)
at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:277)
at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
at com.google.appengine.tools.development.DevAppServerMain.run(DevAppServerMain.java:219)
at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:210)
十月 16, 2013 5:35:00 下午 com.google.apphosting.utils.jetty.JettyLogger info
INFO: Started SelectChannelConnector@127.0.0.1:8080
十月 17, 2013 1:35:00 上午 com.google.appengine.tools.development.DevAppServerImpl doStart
INFO: Dev App Server is now running
是不支持环境还是什么的?
本地部署不成功,在群上询问过,可以用,但是放上 GAE 一直报错,无法显示
请帮忙回答一下,谢谢
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于