微服务
文章平均质量分 66
lishiyueup
码龄十多年的码农
展开
-
使用docker报Error response from daemon: Cannot start container container-name: failed to create
昨天使用Docker进行容器化应用开发的过程中,遇到端口冲突的问题。错误信息:Error response from daemon: Cannot start container container-name: failed to create endpoint endpoint-name on network network-name: Bind for 0.0.0.0:port failed: port is already allocated.原创 2023-07-14 16:32:50 · 9431 阅读 · 1 评论 -
spring boot项目中使用nacos+sentinel,feign: sentinel: enabled: true 运行服务报错
最近的开发工作中,遇到了一个让我感到困惑的问题,spring boot项目中使用nacos+sentinel,feign: sentinel: enabled: true 运行服务报错原创 2023-07-09 17:20:05 · 1167 阅读 · 4 评论 -
Spring Cloud gateway 运行报错:Please set spring.main.web-application-type=reactive or remove spring-boot
使用springcloud gateway 运行报错:“Please set spring.main.web-application-type=reactive or remove spring-boot-starter-web dependency”。经过一番分析与解决现在和大家分享一下解决办法。原创 2023-07-08 13:10:33 · 4056 阅读 · 0 评论 -
在使用SpringBoot引用Eureka导致返回结果由json变为xml
在使用SpringBoot引用Eureka导致返回结果由json变为xml的问题原创 2023-07-07 11:47:44 · 496 阅读 · 0 评论 -
spring boot项目报FileUploadBase$FileSizeLimitExceededException: The field file exceeds its maximum
处理spring boot项目上传文件时遇到文件大小超过限制的情况。异常信息为FileUploadBase$FileSizeLimitExceededException: The field file exceeds its maximum permitted size of ...原创 2023-07-05 09:57:53 · 586 阅读 · 0 评论 -
昨天遇到一个springboot报错FileUploadBase$FileSizeLimitExceededException: The field file exceeds its maximum
报错信息为:“FileUploadBase$FileSizeLimitExceededException: The field file exceeds its maximum permitted size of 1048576 bytes.”。FileUploadBase$FileSizeLimitExceededException异常。原创 2023-07-04 13:26:40 · 1716 阅读 · 0 评论 -
昨天开发时出现报错NoClassDefFoundError: org/springframework/boot/bind/RelaxedDataBinder
昨天我遇到了一个"NoClassDefFoundError: org/springframework/boot/bind/RelaxedDataBinder"的报错,让我花费了一些时间去解决。原创 2023-06-28 16:17:40 · 725 阅读 · 0 评论 -
java.lang.IllegalStateException: Failed to load ApplicationContext问题怎么办
遇到了一个让我苦恼了好一阵的问题:java.lang.IllegalStateException: Failed to load ApplicationContext。这是Spring框架中非常常见的一个错误,通常是因为依赖注入的问题导致的,但是具体的原因并不好定位。原创 2023-06-26 18:41:54 · 6550 阅读 · 0 评论 -
Spring boot java.lang.NoClassDefFoundError: org/springframework/boot/bind/RelaxedPropertyResolver报错
遇到了一个很奇怪的错误,在我使用Spring Boot创建一个新项目时,一直报错,显示“java.lang.NoClassDefFoundError: org/springframework/boot/bind/RelaxedPropertyResolver”。原创 2023-06-25 10:30:35 · 1232 阅读 · 0 评论 -
Springboot报错Failed to parse multipart servlet request; nested exception is java.lang.IllegalStateE
开发Springboot上传功能时报错:Failed to parse multipart servlet request; nested exception is java.lang.IllegalStateException: The multi-part request contained parameter data (excluding uploaded files) that exceeded the maximum allowed limit。原创 2023-06-24 14:49:22 · 3493 阅读 · 0 评论 -
Spring Boot报错Failed to bind properties under ‘‘ to com.zaxxer.hikari.Hikari DataSource
Spring Boot报错Failed to bind properties under '' to com.zaxxer.hikari.Hikari DataSource原创 2023-06-23 09:52:05 · 3549 阅读 · 0 评论