加载依赖有问题
3.6.1及以下版本才可可,建议重装哦
(以下全是tomcat的问题)
数据库链接问题:java.sql.SQLException: Unable to load authentication plugin
主要原因8.x版本的验证模块和之前版本不同:
5.x版本是:default_authentication_plugin=mysql_native_password
8.x版本就是:default_authentication_plugin=caching_sha2_password
网上的主要解决方案是:
1 修改mysql的配置文件为旧的模块
2 运行命令将某个用户的验证模块改为旧版的模块
以上我都没看,找pom文件把mysql中版本号改了,version那一行改成8.0.15
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.15</version>
</dependency>
Error configuring application listener of class org.springframework.web.context
Artifacts没有正确配置。
你康康tomcat里面设置的artfacts和structure里面的artfacts一样不 要里面有lib的那个。
那个英文单词好像写错了。