在springboot中,@Async使用的默认线程池的核心线程参数是多少? 在 Spring Boot 中,@Async 使用的默认线程池核心线程数参数为 8。这是由 Spring Boot 的自动配置类 TaskExecutionAutoConfiguration 决定的... 2025年4月14日 AI 浏览量:5 次 发表评论 阅读全文
AICursor启动gradle的springboot项目成功,但Mybatis 报错`Parameter ‘0’ not found. Available parameters are [arg1, arg0, param1, param2]` 最近几天在配置Cursor,想用它来代替IDEA来写java代码,中间踩了几个坑。搞了两天,最终搞定。 首先是安装java、gradle、springboot相关的插件。这个就不多说了 然后第一个问题... 2025年3月28日 浏览量:15 次 发表评论 阅读全文
BeanUtils.copyProperties浅拷贝问题解决 在java开发中,BeanUtils.copyProperties是绕不开的,一般来说,如果只是在返回结果时用这个来复制下对象值去返回是没有问题的,但是如果需要修改对象的值,那么用BeanUtils.... 2024年6月7日 Java 浏览量:133 次 发表评论 阅读全文
SpringBoot + MybatisPlus使用枚举类型enum报错:No enum constant xxx mybatis-plus版本:3.4.0 entity中使用了枚举类型接收字段,执行报错 org.mybatis.spring.MyBatisSystemException: nested excep... 2023年11月21日 mybatis 浏览量:337 次 发表评论 阅读全文
springboot中操作redis int型 如果你要使用RedisTemplate<String, Object>操作数值,你可以将数值作为Object类型存储在Redis中。然而,需要注意的是,在使用RedisTemplate操作... 2023年5月27日 SpringBoot 浏览量:547 次 发表评论 阅读全文
springboot中如何使用rocketmq的事务消息 在Spring Boot中使用RocketMQ的事务消息,你需要遵循以下步骤: 首先,确保已经添加RocketMQ的依赖到你的Spring Boot项目中。你可以在pom.xml文件中添加以下依赖: ... 2023年5月27日 SpringBoot 浏览量:578 次 发表评论 阅读全文
org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe 是一个在使用 Apache T... 2023年5月25日 SpringBoot 浏览量:971 次 发表评论 阅读全文
JmxEndpointAutoConfiguration和MBeanServer分别是什么? JmxEndpointAutoConfiguration是Spring Boot Actuator的一个自动配置类,它用于将Actuator端点(Endpoints)公开为JMX MBean。Actu... 2023年4月2日 SpringBoot 浏览量:359 次 发表评论 阅读全文
SpringBootSpringboot启动报错’javax.management.MBeanServer’ that could not be found. springboot启动报错 *************************** APPLICATION FAILED TO START **********************... 2023年4月2日 浏览量:960 次 发表评论 阅读全文