springboot mybatis配置下划线转驼峰

springboot mybatis配置下划线转驼峰
阅读全文

nested exception is java.lang.IllegalStateException: PathVariable annotation was empty on param 0.

nested exception is java.lang.IllegalStateException: PathVariable annotation was empty on param 0.
阅读全文

SpringBoot统一异常处理

一、背景在做项目时,会产生各种各样业务异常,大致可以分为下面几类1. 参数异常:服务端接收客户端参数时,参数不符合规则而产生的问题2. 数据库异常:服务端和数据库交互时发生的异常3. 业务异常:系统业务产生的问题4. 未知异常:不属于以上三种异常的情况异常根据自己的需要,进行增加,比如服务调用异常,服务错误异常、逻辑业务异常等等 二、解决思路对项目异常
阅读全文

SpringBoot dubbo 注解@Reference

SpringBoot 注解@Reference
阅读全文

Spring Boot-yaml格式,eureka客户端配置default-zone报错问题

yaml格式,eureka客户端配置default-zone报错问题
阅读全文

SpringBoot与SpringCloud的版本对应说明,兼容说明

SpringBoot与SpringCloud的版本对应说明,SpringBoot与SpringCloud的版本兼容,SpringBoot与SpringCloud关系,如何选择SpringBoot与SpringCloud的版本,如何查看SpringBoot与SpringCloud的版本
阅读全文

解决Intellij IDEA 编译运行时出现Error running xxxApplication Command line is too long

Error running 'xxxxApplication': Command line is too long. Shorten command line for xxxxApplication or also for Spring Boot default configuration.
阅读全文