SEVERE: Unable to create initial connections of pool - tomcat 7 with context.xml file

后端 未结 4 1925
故里飘歌
故里飘歌 2020-12-11 16:30

I tried to run project on tomcat 7.0.52 and initialize to DB through context.xml file.

But it throws bunch of exceptions, I couldn\'t figur

4条回答
  •  情歌与酒
    2020-12-11 17:04

    I use sprint-boot (2.1.1), and mysql version is 8.0.13. I add dependency in pom, solve my problem.

     
          mysql
          mysql-connector-java
          8.0.13
     
    

    MySQL Connector/J » 8.0.13 link: https://mvnrepository.com/artifact/mysql/mysql-connector-java/8.0.13
    MySQL Connector/J » All the version link: https://mvnrepository.com/artifact/mysql/mysql-connector-java

提交回复
热议问题