摘要: 下载地址: curl下载地址:https://curl.haxx.se/download.html 安装步骤: 1.打开链接,找到window 。点击 版本号 开始下载。 2.配置环境变量 新增环境变量:CURL_HOME = D:\dev\curl-7.74.0_1-win64-mingw\bin 阅读全文
posted @ 2020-12-21 10:34 北方有鱼 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 1、maven: mvn -Prelease-xxx -Dmaven.test.skip=true clean install -U 2、gradle: 命令: gradle build --refresh-dependencies 手动清除: 阅读全文
posted @ 2020-12-18 18:49 北方有鱼 阅读(756) 评论(0) 推荐(0) 编辑
摘要: import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor; import com.baomidou.mybat 阅读全文
posted @ 2020-12-02 16:39 北方有鱼 阅读(736) 评论(0) 推荐(0) 编辑
摘要: springboot 提供了对项目的监控功能。 1.首先添加依赖包 implementation 'org.springframework.boot:spring-boot-starter-actuator' 2.application.yml 端点配置 因为actuator默认只支持端点 /hea 阅读全文
posted @ 2020-12-02 10:27 北方有鱼 阅读(100) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0"?> <!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd 阅读全文
posted @ 2020-09-11 15:48 北方有鱼 阅读(327) 评论(0) 推荐(0) 编辑
摘要: mvn install:install-file -Dfile=jar包的位置 -DgroupId=上面的groupId -DartifactId=上面的artifactId -Dversion=上面的version -Dpackaging=jar 1、执行本地命令: mvn install:ins 阅读全文
posted @ 2020-08-28 10:03 北方有鱼 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1. jar 包依赖 (knife4j) // knife4j compile 'com.github.xiaoymin:knife4j-spring-boot-starter:2.0.2' 2. 配置: import org.springframework.context.annotation.B 阅读全文
posted @ 2020-08-25 09:28 北方有鱼 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 开发工具IDEA中查看使用Gradle的java项目模块中jar包的依赖关系非常方便1、打开右侧Gradle模块2、打开要查看模块下的“Tasks”3、打开Tasks下的“help”4、双击help下的dependencies即可,可查看多级依赖关系,jar全名,版本号等; 右侧 --> "Task 阅读全文
posted @ 2020-08-25 09:14 北方有鱼 阅读(7215) 评论(0) 推荐(0) 编辑
摘要: 1、目录结构 Application属性文件,按优先级排序,位置高的将覆盖位置 当前项目目录下的一个/config子目录 当前项目目录 项目的resources即一个classpath下的/config包 项目的resources即classpath根路径(root) 二、读取顺序 如果在不同的目录 阅读全文
posted @ 2020-06-08 18:08 北方有鱼 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 1、第一次安装的下载激活补丁即可 2、如果出现 Rub Public key not find,需要重新卸载安装激活,注意清理其相关的注册表 可以利用“uninstall tool” 进行卸载清除 3、然后以管理员身份打开激活补丁,“patch” --> "Generate" --> copy至Na 阅读全文
posted @ 2020-06-07 10:54 北方有鱼 阅读(808) 评论(0) 推荐(0) 编辑