会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jiasublog
博客园
首页
新随笔
联系
订阅
管理
2025年4月4日
pom导入了依赖maven里却没有
摘要: 在project structure手动导入 搞定
阅读全文
posted @ 2025-04-04 21:05 贾肃
阅读(16)
评论(0)
推荐(0)
2023年5月31日
java.lang.ClassCastException: com.alibaba.fastjson2.JSONArray cannot be cast to java.lang.String的解决
摘要: 是这样的,今天跟着写springboot项目的时候,前端登录的时候报403错误。检查了半天,是后端的问题 报错代码: 第二句 报错提示如下 说是JSONArray不能转String,但我这也不是JSONArry转String而是Object转String啊。 网上搜了半天,用了好多种方法也没什么用
阅读全文
posted @ 2023-05-31 15:30 贾肃
阅读(2378)
评论(0)
推荐(0)
2023年5月30日
org.springframework.security.authentication.InternalAuthenticationServiceException: Invalid bound statement (not found): com.tc.auth.mapper.SysMenuMapper.findListByUserId 问题解决
摘要: 添加如下配置即可 1.在pom.xml添加 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <versio
阅读全文
posted @ 2023-05-30 22:35 贾肃
阅读(305)
评论(0)
推荐(0)
Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found 问题解决
摘要: 在自己的maven仓库中按路径org/springframework/boot/spring-boot-maven-plugin找到它的版本号,在依赖下添加即可
阅读全文
posted @ 2023-05-30 22:29 贾肃
阅读(159)
评论(0)
推荐(0)
2023年5月27日
org.xml.sax.SAXParseException: cvc-id.2: There are multiple occurrences of ID value报错解决
摘要: 额, org.xml.sax.SAXParseException: cvc-id.2: There are multiple occurrences of ID value,见名知意,就是id重复了,检查下你的报错的xml文件,把id改了就行。
阅读全文
posted @ 2023-05-27 15:50 贾肃
阅读(273)
评论(0)
推荐(0)
2023年5月25日
BadCredentialsException: Bad credentials 异常的解决
摘要: 在学习SpringSecurity,测试项目登录功能时报此异常。检查发现是使用md5算法进行校验密码而数据库密码并未加密导致。只需将数据库中用户表的密码加密即可通过验证,登陆成功。
阅读全文
posted @ 2023-05-25 15:30 贾肃
阅读(1008)
评论(0)
推荐(0)
2022年10月19日
linux中输入输出重定向
摘要: 之前学过输出重定向: 将输出改向(到某一文件) [root@tian diry]# cat > 1.txt 这是1.txt [root@tian diry]# cat 1.txt 这是1.txt 这里将标准输出流(显示器)改向到文件1.txt,所以cat 1.txt可以看到改向内容 现在我有个疑惑
阅读全文
posted @ 2022-10-19 15:31 贾肃
阅读(39)
评论(0)
推荐(0)