摘要: pring MVC中的路径匹配要比标准的web.xml要灵活的多。默认的策略实现了 org.springframework.util.AntPathMatcher,就像名字提示的那样,路径模式是使用了Apache Ant的样式路径,Apache Ant样式的路径有三种通配符匹配方法(在下面的表格中列 阅读全文
posted @ 2019-09-18 13:55 西湖看雪 阅读(4378) 评论(0) 推荐(0) 编辑
摘要: 解决方法:当一个测试类加了@SpringBootTest和@RunWith(SpringJUnit4ClassRunner.class)注解,这个类下面一定有一个Test测试类 阅读全文
posted @ 2019-09-18 11:31 西湖看雪 阅读(1004) 评论(0) 推荐(0) 编辑