原因:jdk11之后不支持druid的两个依赖
方法一:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>1.2.5</version>
方法二:
<!-- <exclusions>标签:tools,druid,jar,Druid,alibaba,jconsole,Gradle,com From: https://www.cnblogs.com/zhuoneng/p/18367578
<exclusion>
<groupId>com.alibaba</groupId>
<artifactId>tools</artifactId>
</exclusion>
<exclusion>
<groupId>com.alibaba</groupId>
<artifactId>jconsole</artifactId>
</exclusion>
</exclusions>-->