1、没有使用数据库(在启动类标注加)
@SpringBootApplication(exclude = DatabaseMetaData.class)
2、还启动不起来就加整个资源文件,这里使用的是application.properties
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
---------------------------------------------------------------------------------------------------------------------------------
文章讲述了在SpringBoot应用中如何通过注解@SpringBootApplication(exclude=DatabaseMetaData.class)来避免使用数据库,并且提到通过设置spring.mvc.pathmatch.matching-strategy=ant_path_matcher来调整路径匹配策略,优化应用程序的启动和运行行为。
998





