摘要: 错误: Caused by: java.sql.SQLException: Unknown initial character set index '255' received from server. Initial client character set can be forced via t 阅读全文
posted @ 2022-11-24 15:52 江南0o0 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 导入lombock依赖 <!-- 添加lombock依赖--> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> </dependency> 安装lombock插件 就可以使用了 bea 阅读全文
posted @ 2021-12-13 09:11 江南0o0 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 出现这个错误的原因在于:你本地和远程同时修改了文件 解决办法: 保留本地的文件 git stash git pull origin master git stash pop 不保留本地文件(将本地文件回复到上一个版本,将远程修改pull下来) git reset --hard git push or 阅读全文
posted @ 2021-12-12 15:50 江南0o0 阅读(128) 评论(0) 推荐(0) 编辑
摘要: @ConfigurationProperties和component功能: 使用Java读取到properties文件中的内容,并且把它封装到JavaBean中,以供随时使用;实体类 package com.atguigu.bean; import org.springframework.boot. 阅读全文
posted @ 2021-12-12 09:54 江南0o0 阅读(38) 评论(0) 推荐(0) 编辑
摘要: @Component、@Controller、@Service、@Repository,用法略 @Import * 4、@Import({User.class, DBHelper.class}) * 在容器中自动创建出这两个类型的组件、默认组件的名字就是全类名 */ @Import({User.cl 阅读全文
posted @ 2021-12-11 17:26 江南0o0 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 1.Configuration和Bean package com.atguigu.config; import com.atguigu.bean.Pet; import com.atguigu.bean.User; import org.springframework.context.annotat 阅读全文
posted @ 2021-12-11 16:32 江南0o0 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 第一步:导入maven依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.4.RELEASE</version 阅读全文
posted @ 2021-12-11 14:57 江南0o0 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 第一步:创建项目,idea进行git配置 第一次需要进行配置 然后点击test进行测试,出现git的版本就成功了 选中项目,实例化仓库 看颜色发生变化 查看项目目录下是都多了一个.git文件,这是隐藏文件 这两个都有表示成功了 第二步:将项目提交到本地库 略 第三步:将本地库提交到gitees远程仓 阅读全文
posted @ 2021-12-06 15:19 江南0o0 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 配置文件 # Compiled class file *.class # Log file *.log # BlueJ files *.ctxt # Mobile Tools for Java (J2ME) .mtj.tmp/# Package Files # *.jar *.war *.nar * 阅读全文
posted @ 2021-12-06 13:18 江南0o0 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 常用的Linux命令 平时一定要多使用这些基础的命令! 1)、cd : 改变目录。 2)、cd . . 回退到上一个目录,直接cd进入默认目录 3)、pwd : 显示当前所在的目录路径。 4)、ls(ll): 都是列出当前目录中的所有文件,只不过ll(两个ll)列出的内容更为详细。 5)、touch 阅读全文
posted @ 2021-11-30 08:49 江南0o0 阅读(23) 评论(0) 推荐(0) 编辑