![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
hello_zzw
这个作者很懒,什么都没留下…
展开
-
SpringBoot返回JSON数据是少8小时
SpringBoot将日期转换为JSON字符串后少8小时原创 2024-02-18 15:25:31 · 696 阅读 · 1 评论 -
springboot整合dubbo
pom.xml<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.6.3</version> <relativePath/> <!-- lookup parent from repository -原创 2022-02-03 09:32:01 · 475 阅读 · 0 评论 -
Resolved [org.springframework.web.bind.MissingServletRequestParameterException: Required List parame
问题:Resolved [org.springframework.web.bind.MissingServletRequestParameterException: Required List parameter ‘customerNoList’ is not present]原因:请求体过大,超出了tomcat限制的2M大小解决方案:使用的是springboot内嵌的tomcat,通过在application.properties 或者 bootstrap.yaml 中修改配置server: t原创 2021-06-09 10:16:33 · 9566 阅读 · 0 评论 -
microservice-discovery-eureka-ha-1.0-SNAPSHOT.jar中没有主清单属性
问题:springboot打包完成后执行时报下面的错误java -jar microservice-discovery-eureka-ha-1.0-SNAPSHOT.jar --spring.profiles.active=peer2microservice-discovery-eureka-ha-1.0-SNAPSHOT.jar中没有主清单属性解决方法:在pom.xml文件中加入下面的配置,版本version需要与项目中的springboot保持一致<build> <p原创 2021-05-30 15:55:09 · 183 阅读 · 0 评论 -
java.net.UnknownHostException
对于下面的这个问题,只能说一声 无语2020-07-11 20:56:16.572 INFO 99574 --- [ main] o.s.a.r.c.CachingConnectionFactory : Attempting to connect to: [192.168.16.201 :5672]org.springframework.amqp.AmqpIOException: java.net.UnknownHostException: 192.168.16.20原创 2020-07-11 21:03:14 · 1151 阅读 · 0 评论 -
SpringBoot报错:Cannot load driver class: com.mysql.jdbc.Driver
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'userService'; nested exception is org....原创 2019-09-10 23:09:25 · 1152 阅读 · 0 评论