-
Symphony 为什么不会自动建表
2018-11-06 10:37打成 war 包在放到 webapps 中启动的日志出现警告:
06-Nov-2018 10:35:33.642 信息 [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [C:\mysoftware\apache-tomcat-9.0.12\conf\Catalina\localhost\symphony.xml] 06-Nov-2018 10:35:33.661 警告 [main] org.apache.catalina.startup.HostConfig.deployDescriptor The path attribute with value [/symphony] in deployment descriptor [C:\mysoftware\apache-tomcat-9.0.12\conf\Catalina\localhost\symphony.xml] has been ignored 06-Nov-2018 10:35:33.679 警告 [main] org.apache.catalina.startup.HostConfig.deployDescriptor A docBase [C:\mysoftware\apache-tomcat-9.0.12\webapps\Symphony] inside the host appBase has been specified, and will be ignored 06-Nov-2018 10:35:33.685 警告 [main] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Symphony' did not find a matching property. 06-Nov-2018 10:35:37.058 信息 [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
下面的报错和之前的一样是找不到表。
-
Symphony 为什么不会自动建表
2018-11-06 10:14启动日志没有建表的信息
[INFO ]-[2018-11-06 10:12:01]-[org.b3log.symphony.SymphonyServletListener:80]: Sym process [pid=2804] [WARN ]-[2018-11-06 10:12:01]-[org.b3log.latke.Latkes:635]: !!!!Runtime mode is [DEVELOPMENT], please make sure configured it with [PRODUCTION] in latke.properties if deployed on production environment!!!! [INFO ]-[2018-11-06 10:12:01]-[org.b3log.symphony.processor.FileUploadProcessor:87]: Uses dir [C:\Users\xiang\AppData\Roaming\STS\sts-3.9.5.RELEASE\.\upload] for file uploading [INFO ]-[2018-11-06 10:12:01]-[org.b3log.latke.repository.jdbc.util.Connections:129]: Initialized database connection pool [hikari] [INFO ]-[2018-11-06 10:12:01]-[com.zaxxer.hikari.HikariDataSource:110]: HikariPool-1 - Starting... [INFO ]-[2018-11-06 10:12:02]-[com.zaxxer.hikari.HikariDataSource:123]: HikariPool-1 - Start completed. [ERROR]-[2018-11-06 10:12:02]-[org.b3log.latke.repository.jdbc.JdbcRepository:490]: Query failed
从这里开始就是上述的报错了