spring boot
GoogleDocs
这个作者很懒,什么都没留下…
展开
-
如何解决接口防抖无法杜绝重复提交问题
接口防抖还是出现多次执行代码的问题原创 2024-06-14 17:48:05 · 164 阅读 · 0 评论 -
MyBatis-Plus条件构造器 参数解释
参考:MyBatis-Plus条件构造器常用:eqeq(R column, Object val)eq(boolean condition, R column, Object val)等于 =例: eq(“name”, “老王”)—>name = ‘老王’eqne(R column, Object val)ne(boolean condition, R column, Object val)不等于 <>例: ne(“name”, “老王”)—>name原创 2021-12-11 15:10:36 · 1232 阅读 · 0 评论 -
@NotNull内groups的作用
@NotNull为不可为空@NotNull(message = "primary is not null",groups = {Update.class})/* 分组校验 */ public @interface Create {} /* 分组校验 */ public @interface Update {}groups = {Update.class}groups是验证分组,比如我有的验证只有更新的时候做,有的只有添加的时候做message =“primary i原创 2020-09-14 09:52:30 · 4409 阅读 · 0 评论 -
在WebSocket类中无法引用其他类方法
解决:https://blog.csdn.net/tornadojava/article/details/78781474https://blog.csdn.net/eric520zenobia/article/details/84955250第一步:编写 YaoEndpointConfigure 类package boot.spring.config;import org.springframework.beans.factory.BeanFactory;import org.sprin转载 2020-09-09 17:50:39 · 752 阅读 · 0 评论 -
Field userService in XXX required a bean of type XXX that could not be found.
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 141611.397-[ERROR]-[]-[main]-o.s.b.d.LoggingFailureAnalysisReporter: ***************************APPLICATION FAILED TO START**************原创 2020-08-21 14:23:16 · 721 阅读 · 0 评论 -
Error running ‘XXX‘: Command line is too long. 启动项命令行太长
错误信息:Error running 'IdsApplication': Command line is too long. Shorten command line for IdsApplication or also for Spring Boot default configuration.运行“Application”时出错:命令行太长。解决方法:edit Configruations(修改启动配置项)→Environment(环境)中修改Shorten command line(缩短命令行.原创 2020-08-21 11:53:48 · 2662 阅读 · 2 评论