错误包括以下情况:
1.
SQLException: Access denied for user 'root'@'localhost' (using password: YES)
2.
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
当你在网上找遍方法的时候还是没法解决,以下方法或许是你没注意到的地方。
这是由于本人眼瞎造成的错误,并且花了很多时间。要是各位看官的问题并不是这种,就当看一笑吧。