- 博客(5)
- 收藏
- 关注
原创 SpringBootc出现Parameter 0 of method modifyRequestBodyGatewayFilterFactory in org.springframework.clo
去掉<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-gateway</artifactId> </dependency>...
2019-08-20 20:49:15 1658 2
原创 SpringBoot启动时出现PathVariable annotation was empty on param 0
在远程调用Feign的时候报的一个错误,仔细看了一下代码发现问题出在用@PathVariable注解的时候@PathVariable Integer id 这样写没有写明其value,正确写法@PathVariable(value = “id”) Integer id...
2019-08-20 10:23:03 715
原创 SpringBoot测试类出现java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need
启动类App.class的目录结构应该高于测试类
2019-08-12 16:53:53 371
原创 springboot启动时出现Failed to determine a suitable driver class异常
Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.启动时出现此异常 时启动类当中@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})@...
2019-08-12 13:26:49 725
原创 Spring Boot中用Postman上传文件出现Required request part 'file' is not present错误
欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。新的改变我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客:全新的界面设计 ,将会带来全新的写作...
2019-08-10 20:54:44 1875
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人