CodePudding user response:
In starting the class try to add the annotation@ SpringBootApplication (exclude={DataSourceAutoConfiguration. Class})
CodePudding user response:
I can't a brother, have triedCodePudding user response:
Com. Mysql. JDBC Driver is mysql connector - Java for MySQL5,Com. Mysql. Cj. JDBC Driver is mysql connector - Java for the MySQL6
Check the introduced by the driver version and configuration is the corresponding
CodePudding user response:
Version with 6 or not can, same errorCodePudding user response:
Classpath no drive,,,CodePudding user response:
Check the pom file, mysql introduced depend on whether it is rightCodePudding user response:
Have you found the reason? I also encountered this kind of situation, have configured, or an error, is probably not loadedCodePudding user response:
Try to connect toCodePudding user response: