-
问个比较 low 的问题,关于 solo3.3
2019-03-26 01:18多谢,换 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)