初建一个简单的spring boot 项目,启动后会报错. Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/sp…
1.Spring boot,Mybatis 启动报错 Failed to auto-configure a DataSource *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datas…
项目搭建页面 https://start.spring.io/ 各个依赖的作用 List of dependencies for Spring Boot 2.1.5.RELEASE Core DevTools: Spring Boot Development Tools Lombok: Java annotation library which helps to reduce boilerplate code and code faster Configuration Processor: Ge…