【springboot启动报错】due to org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType not found.

nested exception is java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseConfiguration
due to org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType not found. Make sure your own configuration does not rely on that class.
在这里插入图片描述
Spring Boot Application in default package
【springboot启动报错】due to org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType not found._第1张图片
【springboot启动报错】due to org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType not found._第2张图片

创建目录,不要放在默认目录下

【springboot启动报错】due to org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType not found._第3张图片

你可能感兴趣的:(spring,boot,java,后端)