今天照常启动项目,发现报错了 而且是由logback报错,内容如下
ERROR in ch.qos.logback.core.joran.spi.Interpreter@78:16 - RuntimeException in Action for tag [appender] java.lang.IllegalStateException: DBAppender cannot function if the JDBC driver does not support getGeneratedKeys method *and* without a specific SQL dialect
本以为是驱动或者方言问题,结果查询半天 才发现是 url 配置不对,本机没有对的数据库,更改之后就可以了