只看最前面的报错 以为是单纯的sping配置文件报错,再看下面如果还带有jdbc方面的报错,那就是因为数据源没有配置好的原因,造成sping内存注入失败报错
(数据源是因为mysq8版本的驱动jar包 不支持jdk8以下,换jdk1.8 和 tomcat8后 解决)