Spring boot配置文件映射路径

SpringBoot 内置了tomcat,不用再像ssm那样在tomcat的server.xml文件中配置文件映射路劲。 在spring boot的自定义配置类继承 WebMvcConfigurationSupport ,添加路径映射便可,特别简单!css @Configuration @MapperScan("com.***.**.*") public class WebMvcConfig ex
相关文章
相关标签/搜索