会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
狗艳艳花
冰激凌会流泪吗?
博客园
首页
新随笔
联系
订阅
管理
2026年6月26日
用 Claude Code 写项目
摘要: 1. Superpowers:先装它,像总控台 安装命令: /plugin install superpowers@claude-plugins-official 2. Planning with Files:把规划落到文件里 安装命令: /plugin install planning-with-
阅读全文
posted @ 2026-06-26 17:58 狗艳艳花
阅读(2)
评论(0)
推荐(0)
2026年6月24日
@Service public class XXXX 提示ServiceImpl中的方法必须实现
摘要: 提示ServiceImpl中的接口都要实现,原因是 你的XxxxxxxMapper 没有继承BaseMapper导致的解决也很简单:如下代码 extends BaseMapper<Xxxxxxxx>即可 @Mapper public interface XxxxxxxMapper extends B
阅读全文
posted @ 2026-06-24 10:41 狗艳艳花
阅读(2)
评论(0)
推荐(0)
2026年6月23日
Java8 到 Java25 的编码和性能变化
摘要: 从 2014 年到 2025 年,Java 完成了从 "经典" 到 "现代" 的蜕变。Java 25 作为最新的 LTS(长期支持)版本,将获得至少 8 年的 Oracle 支持,维护至 2033 年。这十年间,Java 在语法简洁性、并发能力和性能优化三个维度取得了质的飞跃。 Java 拥有强大的
阅读全文
posted @ 2026-06-23 09:03 狗艳艳花
阅读(16)
评论(0)
推荐(0)
2026年6月10日
jdk17 用 StringUtils判断空值
摘要: jdk17中判断空值的方法不再是,isEmpty()已是不推荐的方法 isEmpty(),isBlank(),isNotEmpty(),isNotBlank() jdk17中改为了StringUtils.hasText() public static boolean hasText(@N
阅读全文
posted @ 2026-06-10 17:47 狗艳艳花
阅读(2)
评论(0)
推荐(0)
2026年6月9日
Could not find artifact XXXXXXX in nexus-aliyun
摘要: 分析原因: 这个问题产生的原因是资源在阿里云中没有找到,说明是本地install的jar包。需要配置modules。 问题解决:点击 + ,将项目配置到Modules中即可。
阅读全文
posted @ 2026-06-09 14:47 狗艳艳花
阅读(5)
评论(0)
推荐(0)
2025年12月27日
java 读取resource目录【相对路径】的文件
摘要: ClassPathResource对象获取到的路径是绝对路径,不能直接发布到服务器上使用 应使用如下方式 List<String> denyWordList = new ArrayList<>(); try { InputStream resourceAsStream = this.getClass
阅读全文
posted @ 2025-12-27 11:45 狗艳艳花
阅读(23)
评论(0)
推荐(0)
2025年12月25日
Java springboot 整合敏感词筛查【sensitive-word实现】
摘要: 直接上代码 1.添加依赖 <dependency> <groupId>com.github.houbb</groupId> <artifactId>sensitive-word</artifactId> <version>0.25.0</version> </dependency> 2.自定义配置类
阅读全文
posted @ 2025-12-25 17:22 狗艳艳花
阅读(36)
评论(0)
推荐(0)
2025年12月13日
Required String parameter '***Id' is not present. status 400
摘要: 报该错误的原因不唯一,我仅在此分享我的情况。 后端接收参数代码: @RequestMapping("data****/delete*****") public ResultMeta delete*****Controller( @RequestParam(value = "***Id") @NotN
阅读全文
posted @ 2025-12-13 10:48 狗艳艳花
阅读(25)
评论(0)
推荐(0)
2025年12月11日
Error running Application.Command line is too long
摘要: 问题 :运行application的时候,命令太长,导致启动失败 解决方案: 设置:Shorten command line
阅读全文
posted @ 2025-12-11 08:49 狗艳艳花
阅读(8)
评论(0)
推荐(0)
2025年12月9日
IDEA 报错:You aren‘t using a compiler supported by lombok
摘要: 添加VM选项 -Djps.track.ap.dependencies=false 即可
阅读全文
posted @ 2025-12-09 15:31 狗艳艳花
阅读(12)
评论(0)
推荐(0)
下一页
公告