03 2023 档案

摘要:重装系统 环境配置 登录自动执行 vim ~/.bashrc 写入以下 ps1=\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033 阅读全文
posted @ 2023-03-29 13:40 韩立987 阅读(34) 评论(0) 推荐(0) 编辑
摘要:清除DNS缓存 手动的方法就是进入命令行提示符,输入 ipconfig /flushdns C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs灰色-莫兰迪色. 148 165 141 #94A58D 阅读全文
posted @ 2023-03-29 13:37 韩立987 编辑
摘要:IntelliJ IDEA编译项目报错 "xxx包不存在" 或 "找不到符号" 1.maven设置 首先查看maven设置,不要使用默认的maven版本:3.8.5 2.Maven-Reimport 3.UTF-8 编码选择设置为UTF-8,不要使用默认配置: 4.Invalidate Caches 阅读全文
posted @ 2023-03-29 13:29 韩立987 阅读(135) 评论(0) 推荐(0) 编辑
摘要:公共模块 Unable to find main class 解决方法在公共模块中的pom文件加入如下配置 <build> <plugins> <plugin> <!-- 公共模块 Unable to find main class--> <groupId>org.springframework.b 阅读全文
posted @ 2023-03-29 13:28 韩立987 阅读(347) 评论(0) 推荐(0) 编辑
摘要:nodejs 10.14.4下载地址 https://nodejs.org/en/download/releases 阅读全文
posted @ 2023-03-28 19:37 韩立987 阅读(7) 评论(0) 推荐(0) 编辑
摘要:导入aliyun-sdk-vod-upload(1.4.11)依赖 在网上看到了很多的方法,尝试之后一直都是失败的情况,都是照猫画虎,将错误的帖子复制到自己的博客中.导致我们错误的方向去修改错误. 通过maven依赖导入aliyun-java-vod-upload aliyun-sdk-vod-up 阅读全文
posted @ 2023-03-28 12:34 韩立987 阅读(348) 评论(0) 推荐(1) 编辑
摘要:全局异常处理配置 @ControllerAdvice //aop public class GlobalExceptionHandler { @ExceptionHandler(Exception.class) @ResponseBody public Result error(Exception 阅读全文
posted @ 2023-03-15 14:16 韩立987 阅读(28) 评论(0) 推荐(0) 编辑
摘要:swagger-ui.html 配置模板 @Configuration @EnableSwagger2 public class Swagger2Config { @Bean public Docket webApiConfig() { return new Docket(Documentation 阅读全文
posted @ 2023-03-15 14:14 韩立987 阅读(259) 评论(0) 推荐(0) 编辑
摘要:SpringCloud多模块项目打包报错Unable to find main class 把下面的删除,就不会报 找不到包了 <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>mav 阅读全文
posted @ 2023-03-13 18:04 韩立987 阅读(71) 评论(0) 推荐(0) 编辑
摘要:代码生成器模板 public class CodeGenerator { @Test public void run() { // 1、创建代码生成器 AutoGenerator mpg = new AutoGenerator(); // 2、全局配置 GlobalConfig gc = new G 阅读全文
posted @ 2023-03-13 16:33 韩立987 阅读(90) 评论(0) 推荐(0) 编辑
摘要:知名的DNS :https://adguard-dns.io/kb/zh-CN/general/dns-providers/ fetch-github-hosts : https://hosts.gitcdn.top/hosts.txt Gooxxx Hosts(科学重定向) https://raw 阅读全文
posted @ 2023-03-03 13:04 韩立987 阅读(175) 评论(0) 推荐(0) 编辑
摘要:火狐浏览器添加自定义搜索引擎并屏蔽特定网站 browser.urlbar.update2.engineAliasRefresh选择布尔值并点击右边的添加按钮,然后确保它的值是True:修改火狐首选语言Request English version of websites 改为 false 火狐中关闭 阅读全文
posted @ 2023-03-03 12:52 韩立987 阅读(561) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示