-
下载了 symphony 进行部署,出错求帮助
2018-12-19 09:15因为两千字符的限制,我做多条回帖展示完整异常提示信息。
这个是我点击 右上角那个头像,也就是管理进去,连接是:http://localhost:8080/symphony/admin 控制台提示的异常信息 -
下载了 symphony 进行部署,出错求帮助
2018-12-19 09:13at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source)
[WARN ]-[2018-12-19 09:12:01]-[org.b3log.latke.servlet.handler.BeforeHandleHandler:60]: Occurred an exception before request processing: 浣犵洰鍓嶆槸{roleName}锛岃繕涓嶈兘浣跨敤璇ュ姛鑳?
浜嗚 В绀惧尯淇′换浣撶郴 -
下载了 symphony 进行部署,出错求帮助
2018-12-19 09:13at 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.b3log.latke.servlet.filter.EncodingFilter.doFilter(EncodingFilter.java:64) 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:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491) 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:668) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
-
下载了 symphony 进行部署,出错求帮助
2018-12-19 09:12[ERROR]-[2018-12-19 09:12:01]-[org.b3log.symphony.processor.advice.PermissionCheck:113]: Match method failed
java.lang.NullPointerException
at org.b3log.symphony.processor.advice.PermissionCheck.doAdvice(PermissionCheck.java:111)
at org.b3log.symphony.processor.advice.PermissionCheck__jvst584_9e._d1doAdvice(PermissionCheck_jvst584_9e.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.b3log.latke.ioc.JavassistMethodHandler.invoke(JavassistMethodHandler.java:116)
at org.b3log.symphony.processor.advice.PermissionCheck_jvst584_9e.doAdvice(PermissionCheck__jvst584_9e.java)
at org.b3log.latke.servlet.handler.BeforeHandleHandler.handle(BeforeHandleHandler.java:55)
at org.b3log.latke.servlet.RequestContext.handle(RequestContext.java:451)
at org.b3log.latke.servlet.handler.RouteHandler.handle(RouteHandler.java:202)
at org.b3log.latke.servlet.RequestContext.handle(RequestContext.java:451)
at org.b3log.latke.servlet.handler.StaticResourceHandler.handle(StaticResourceHandler.java:118)
at org.b3log.latke.servlet.RequestContext.handle(RequestContext.java:451)
at org.b3log.latke.servlet.DispatcherServlet.handle(DispatcherServlet.java:87)
at org.b3log.latke.servlet.DispatcherServlet.service(DispatcherServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) -
下载了 symphony 进行部署,出错求帮助
2018-12-19 09:101、拉源码 git clone https://github.com/b3log/symphony.git
2、按需修改 src/main/resources/local.properties 中的数据库口令配置
jdbc.username=root
jdbc.password=
3、先执行了 mvn clear 清理
再执行 mvn install 编译打包,完成后在 target 目录下将生成 symphony.war4、 手动新建数据库
b3log_symphony
,字符集用utf8mb4
,排序规则utf8mb4_general_ci
5、 将 war 包部署到 Tomcat 的 webapps 目录下6、 浏览器访问 http://localhost:8080/symphony
7、登陆默认的管理员账号为 admin/admin
8、访问 http://localhost:8080/symphony/admin 提示 “因权限不足操作已被禁止 :(”