摘要: 一、下载 进入VS Code官网:https://code.visualstudio.com,点击 DownLoad for Windows下载windows版本 当然也可以点击旁边的箭头,下载Windows版本 或 Mac OS 版本 备注: Stable:稳定版 Insiders:内测版 注意: 阅读全文
posted @ 2024-05-22 15:53 捞月亮的小北 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 密码配置 客户端连接 阅读全文
posted @ 2024-05-20 21:18 捞月亮的小北 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 问题描述 在运行SpringBoot时出现一个error 2024-05-08T20:52:06.512+08:00 ERROR 20752 [springboot3-003-demo] [ main] o.a.catalina.core.AprLifecycleListener : An inco 阅读全文
posted @ 2024-05-08 20:58 捞月亮的小北 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 问题描述 在写测试方法的时候 ,发现 bookLambdaQueryWrapper.like(name != null, Book::getName , name); 这一句老是报错 解决方法 更换MyBatis-Plus 依赖版本即可 , 之前我的是 3.4.3版本的 ,更换到 3.4.1 即可解 阅读全文
posted @ 2024-05-06 10:51 捞月亮的小北 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 添加配置 /** * @Author North * @Date 2024/5/6 */ @Configuration public class MPConfig { @Bean public MybatisPlusInterceptor mybatisPlusInterceptor() { // 阅读全文
posted @ 2024-05-06 10:19 捞月亮的小北 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 报错原因 问题描述:因为MyBatis-Plus 默认的id自增策略使用的 雪花算法 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionExcep 阅读全文
posted @ 2024-05-06 09:58 捞月亮的小北 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1. 整合Junit 一般来说是不需要进行处理的 ,因为在创建SpringBoot 工程时 ,会自动整合junit​的 要说怎么配置的话?也可以写一下相关的配置:以下就是SpringBoot 整合 Junit 相关步骤 导入相关依赖 <dependency> <groupId>org.springf 阅读全文
posted @ 2024-05-05 20:12 捞月亮的小北 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 问题描述 解决方案 在yml文件中插入以下配置 mybatis-plus: global-config: db-config: table-prefix: tbl_ 阅读全文
posted @ 2024-05-05 19:11 捞月亮的小北 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 问题描述 今天在使用springboot整合mybatis-plus时出现报错: 这里使用的时SpringBoot3 D:\DevTools\JDK\jdk17\bin\java.exe -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:D 阅读全文
posted @ 2024-05-05 19:07 捞月亮的小北 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1. 配置文件格式 1.1 配置文件自动提示功能消失解决方案 ​​ 1.2 SpringBoot配置文件加载顺序(了解) application.properties > application.yml > application.yaml 1.3 注意事项 SpringBoot核心配置文件名为ap 阅读全文
posted @ 2024-05-05 13:46 捞月亮的小北 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 问题描述 解决方案 阅读全文
posted @ 2024-05-04 09:11 捞月亮的小北 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 设置Server URL 将 https://start.spring.io 改为 https://start.aliyun.com 或者改为 https://start.springboot.io 如图所示: 启动演示 如图所示 ,启动成功 阅读全文
posted @ 2024-05-03 17:52 捞月亮的小北 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 欲买桂花同载酒,终不似,少年游。便邀东风揽明月,春不许,再回头。重行故地儿时路,雪不停,白了头。残柳不语雁不误,西风转,世已秋。踌躇举杯对孤影,尚未语,泪先流。 阅读全文
posted @ 2024-05-02 21:16 捞月亮的小北 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 1. SpringBoot 简介 SpringBoot是由Pivotal团队提供的全新框架,可以帮助我们开发基于Spring的、独立的、生产级的应用程序。​ 其中SpringBoot的官网是:Spring Boot Reference Documentation SpringBoot的主要目标是: 阅读全文
posted @ 2024-05-02 10:20 捞月亮的小北 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 解决方案 在pom.xml文件中引入: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>3. 阅读全文
posted @ 2024-05-01 11:28 捞月亮的小北 阅读(10) 评论(0) 推荐(0) 编辑