就是我直接下载 solo3.3 导入项目报错是是因为什么啊,tomcat8,jdk8,我看 oschina 上的评论 2.0 才可以用?, [ERROR]-[2019-03-25 22:23:32]-[org.b3log.latke.servlet.DispatcherServlet:320]: Found lambd ..

问个比较 low 的问题,关于 solo3.3

就是我直接下载 solo3.3 导入项目报错是是因为什么啊,tomcat8,jdk8,我看 oschina 上的评论 2.0 才可以用?,

[ERROR]-[2019-03-25 22:23:32]-[org.b3log.latke.servlet.DispatcherServlet:320]: Found lambda method reference impl method failed

java.lang.NoSuchMethodException: org.b3log.solo.SoloServletListener.lambda$21(org.b3log.latke.servlet.RequestContext)
	at java.lang.Class.getDeclaredMethod(Class.java:2130)
	at org.b3log.latke.servlet.DispatcherServlet$Router.handler(DispatcherServlet.java:318)
	at org.b3log.latke.servlet.DispatcherServlet$Router.get(DispatcherServlet.java:233)
	at org.b3log.latke.servlet.DispatcherServlet$Router.get(DispatcherServlet.java:229)
	at org.b3log.latke.servlet.DispatcherServlet.get(DispatcherServlet.java:156)
	at org.b3log.solo.SoloServletListener.routeConsoleProcessors(SoloServletListener.java:356)
	at org.b3log.solo.SoloServletListener.contextInitialized(SoloServletListener.java:89)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:952)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:558)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:917)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:370)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:847)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:287)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
	at org.eclipse.jetty.server.Server.start(Server.java:416)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.Server.doStart(Server.java:383)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.b3log.solo.Starter.main(Starter.java:178)
[ERROR]-[2019-03-25 22:23:32]-[org.b3log.latke.servlet.DispatcherServlet:320]: Found lambda method reference impl method failed
java.lang.NoSuchMethodException: org.b3log.solo.SoloServletListener.lambda$22(org.b3log.latke.servlet.RequestContext)
	at java.lang.Class.getDeclaredMethod(Class.java:2130)
	at org.b3log.latke.servlet.DispatcherServlet$Router.handler(DispatcherServlet.java:318)
	at org.b3log.latke.servlet.DispatcherServlet$Router.delete(DispatcherServlet.java:209)
	at org.b3log.latke.servlet.DispatcherServlet$Router.delete(DispatcherServlet.java:205)

  • Solo

    Solo 是一款小而美的开源博客系统,专为程序员设计。

    Solo 有着非常活跃的社区,可将文章作为帖子推送到社区,来自社区的回帖将作为博客评论进行联动。

    这是一种全新的网络社区体验,让热爱记录和分享的你不再感到孤单!
    具体细节请浏览 B3log 构思

    665 引用 • 5059 回帖 • 708 关注
7 回帖   
请输入回帖内容...
  • 88250

    Tomcat 请使用 9。另外不建议用 war 包部署,这样以后升级会比较麻烦,建议用 Docker 部署。明天会发布 v3.4.0 敬请关注。

    1 回复
  • sixjo        

    多谢,换 tomcat9 然后下载了官方皮肤以后可以启动了,但是用 github 登陆成功以后报 500😄, 这。。。搞到半夜也没搞好

    [ERROR]-[2019-03-26 01:15:46]-[org.b3log.latke.servlet.renderer.AbstractFreeMarkerRenderer:131]: Renders template [index.ftl] failed [Request [
    
        method=GET,
        URL=http://localhost:8080/,
        contentType=null,
        characterEncoding=UTF-8,
        local=[
            addr=0:0:0:0:0:0:0:1,
            port=8080,
            name=0:0:0:0:0:0:0:1],
        remote=[
            addr=0:0:0:0:0:0:0:1,
            port=52431,
            host=0:0:0:0:0:0:0:1],
        headers=[
            host=localhost:8080
            connection=keep-alive
            cache-control=max-age=0
            upgrade-insecure-requests=1
            user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
            dnt=1
            accept=text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
            accept-encoding=gzip, deflate, br
            accept-language=zh-CN,zh;q=0.9
            cookie=skin=Pinghsu; visited=%5B%22%2F%22%5D
        ]
    ]]
    FreeMarker template error:
    Template inclusion failed (for parameter value "../../common-template/macro-common_head.ftl"):
    Template not found for name "skins/Pinghsu/../../common-template/macro-common_head.ftl" (normalized: "common-template/macro-common_head.ftl").
    The name was interpreted by this TemplateLoader: WebappTemplateLoader(subdirPath="/", servletContext={contextPath="", displayName=null}).
    
    ----
    FTL stack trace ("~" means nesting-related):
    	- Failed at: #include "../../common-template/macro...  [in template "skins/Pinghsu/index.ftl" at line 20, column 1]
    ----
    
    Java stack trace (for programmers):
    ----
    freemarker.core._MiscTemplateException: [... Exception message was already printed; see it above ...]
    	at freemarker.core.Include.accept(Include.java:164)
    	at freemarker.core.Environment.visit(Environment.java:330)
    	at freemarker.core.Environment.visit(Environment.java:336)
    	at freemarker.core.Environment.process(Environment.java:309)
    	at freemarker.template.Template.process(Template.java:384)
    	at org.b3log.latke.servlet.renderer.AbstractFreeMarkerRenderer.genHTML(AbstractFreeMarkerRenderer.java:154)
    	at org.b3log.solo.processor.SkinRenderer.genHTML(SkinRenderer.java:86)
    	at org.b3log.latke.servlet.renderer.AbstractFreeMarkerRenderer.render(AbstractFreeMarkerRenderer.java:125)
    	at org.b3log.latke.servlet.DispatcherServlet.result(DispatcherServlet.java:118)
    	at org.b3log.latke.servlet.DispatcherServlet.handle(DispatcherServlet.java:97)
    	at org.b3log.latke.servlet.DispatcherServlet.service(DispatcherServlet.java:69)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
    	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
    	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
    	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    
    
    1 回复
  • 88250      

    你是手动下载的皮肤么?多半是代码和皮肤版本不匹配导致。等发布 v3.4.0 以后再试试看吧,辛苦了 😅

    2 回复
  • sixjo        

    好吧,等今天 3.4.0 发布了看看😂

  • sixjo        

    多谢,可以了,赞😄

    1 回复
  • 88250      

    有任何问题或者建议随时沟通,谢谢 🙏

    1 回复
  • sixjo        

    好的👌

请输入回帖内容 ...