Cannot resolve com.mysq.jdbc.Connection.ping method. Will use 'SELECT 1' ins
解决办法 :mysql版本与druid版本不兼容
修改为mysql->8.0.16 druid->1.1.10
Unknown system variable 'tx_read_only'
解决办法:MySQL数据库与maven仓库的驱动版本不一致
修改为 MySQL版本号->8.0.16
Unknown lifecycle phase "tomcat9:run". You must specify a valid lifecycle ph
没有好的解决,不过可以修改xxx:run为artifactId的一部分;
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>${tomcat.version}</version>
<configuration>
<port>${webserver.port}</port>
<path>/${project.artifactId}</path>
<uriEncoding>${project.build.sourceEncoding}</uriEncoding>
</configuration>
</plugin>
org.springframework.context.annotation.internalScheduledAnnotationProcessor
****************启动Redis*************************