会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
CodeRain
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
16
下一页
2022年6月8日
[Bug0013] Hexo+Github 搭建博客报错 :hexo -v 时 ,bash: hexo: command not found
摘要: 1、问题 $ hexo -v bash: hexo: command not found 2、场景 Hexo+Github 搭建博客更换电脑下载 hexo 后不能使用。 3、原因 hexo 的环境变量未配置。 4、解决方案 配置环境变量。 检验是否配置成功,打开 cmd 命令行输入 hexo -v
阅读全文
posted @ 2022-06-08 21:22 Code7Rain
阅读(83)
评论(0)
推荐(0)
2022年6月7日
[Bug0011] Cannot resolve symbol 'springframework' / Idea的右侧 Maven模块找不到
摘要: 1、问题 Cannot resolve symbol 'springframework' 2、场景 拉取一个新的项目新导入Idea 中,出现报错 Cannot resolve symbol 'springframework' 3、原因 pom.xml 文件未被识别,经过筛查发现在 Idea2021_
阅读全文
posted @ 2022-06-07 20:37 Code7Rain
阅读(809)
评论(0)
推荐(0)
[Bug0009]IDEA中mapper文件实体类名报红 Cannot resolve symbol 'xxxMapper'
摘要: 1、问题 Cannot resolve symbol 'xxxMapper' 2、场景 好几天电脑没关机,突然一天关机第二天重新启动代码,结果发现在我的Idea里面一片爆红,报错好多 Cannot resolve symbol 'xxxMapper' 。 3、原因 4、解决方案 如下操作,
阅读全文
posted @ 2022-06-07 20:37 Code7Rain
阅读(240)
评论(0)
推荐(0)
[Bug0010]Could not autowire. No beans of 'xxxxMapper' type found.
摘要: 1、问题 Could not autowire. No beans of 'xxxxMapper' type found. 2、场景 在 Service 层中使用 @Autowired 注解注入Mapper 时候报错 Could not autowire. No beans of 'xxxxMapp
阅读全文
posted @ 2022-06-07 20:36 Code7Rain
阅读(422)
评论(0)
推荐(0)
[Bug0012]Failed to load property source from location 'classpath:/application.yml'
摘要: 1、问题 Failed to load property source from location 'classpath:/application.yml' 2、场景 新项目第一次启动报错 3、原因 不能扫描到 application.yml,可能是 yml 文件中的中文注释格式出现问题。 4、解决
阅读全文
posted @ 2022-06-07 20:36 Code7Rain
阅读(278)
评论(0)
推荐(0)
2022年5月31日
Hexo+Github免费搭建博客教程
摘要: 免费搭建自己的博客 一、下载安装node.js 在node.js官网下载安装包安装即可。 Win键+R输入cmd进入命令窗口输入node -v(注意-v前有个空格),如图若出现node版本信息,则安装成功。 二、注册GitHub 在github官网注册登录即可 创建第一个github仓库 如图:1创
阅读全文
posted @ 2022-05-31 23:43 Code7Rain
阅读(179)
评论(0)
推荐(0)
Linux常见命令
摘要: ##Linux 命令大全 1、文件管理 cat file mdir mv rm 2、文档编辑 look sort spell tr expr 3、文件传输 ftp ftpshut ftpwho ftpcount 4、磁盘管理 cd df dirs mkdir rmdir stat tree ls 5
阅读全文
posted @ 2022-05-31 23:27 Code7Rain
阅读(49)
评论(0)
推荐(0)
[Mybatis常见面试题]#{}和${}的区别是什么?
摘要: #{}和${}的区别是什么? 正确的答案是:#{}是预编译处理,${}是字符串替换。 (1)mybatis在处理#{}时,会将sql中的#{}替换为?号,调用PreparedStatement的set方法来赋值。 (2)mybatis在处理时 , 就是把 {}时,就是把时,就是把{}替换成变量的值。
阅读全文
posted @ 2022-05-31 23:26 Code7Rain
阅读(79)
评论(0)
推荐(0)
sql语句多表查询(学生表/课程表/教师表/成绩表 )
摘要: 表结构: 1.学生表 Student(Sid,Sname,Sage,Ssex) --S# 学生编号,Sname 学生姓名,Sage 出生年月,Ssex 学生性别 2.课程表 Course(Cid,Cname,Tid) --C# --课程编号,Cname 课程名称,T# 教师编号 3.教师表 Teac
阅读全文
posted @ 2022-05-31 23:25 Code7Rain
阅读(5073)
评论(0)
推荐(0)
Set的四种遍历方式
摘要: 1.概述 Set是Collection下面的无序子接口 特点: 无序:里面的元素没有位置的区别,所有的元素在里面存放都相当于是打乱的。 没有索引:因为元素在集合当中是没有任何的确定的位置的,所以说元素也就没有索引 不能重复:集合当中不能去存储重复的元素。因为没有位置的区别,如果存储了重复的元素,那么
阅读全文
posted @ 2022-05-31 23:23 Code7Rain
阅读(501)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
16
下一页
公告