报异常的原因:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties': Instantiation of bean failed;
中文翻译:
创建名为‘Spring.数据源-org.SpringFrawork.boot.autofigre.jdbc.datourceproperties’的bean时出错。
解决方法:
Spring Boot项目中需要配置数据源。
怎么配置数据源: