摘要: 清除DNS缓存 手动的方法就是进入命令行提示符,输入 ipconfig /flushdns C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs灰色-莫兰迪色. 148 165 141 #94A58D 阅读全文
posted @ 2023-03-29 13:37 孔雀东南飞3 阅读(236) 评论(0) 推荐(0)
摘要: 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 孔雀东南飞3 阅读(167) 评论(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 孔雀东南飞3 阅读(389) 评论(0) 推荐(0)
摘要: nodejs 10.14.4下载地址 https://nodejs.org/en/download/releases 阅读全文
posted @ 2023-03-28 19:37 孔雀东南飞3 阅读(15) 评论(0) 推荐(0)
摘要: 导入aliyun-sdk-vod-upload(1.4.11)依赖 在网上看到了很多的方法,尝试之后一直都是失败的情况,都是照猫画虎,将错误的帖子复制到自己的博客中.导致我们错误的方向去修改错误. 通过maven依赖导入aliyun-java-vod-upload aliyun-sdk-vod-up 阅读全文
posted @ 2023-03-28 12:34 孔雀东南飞3 阅读(396) 评论(0) 推荐(1)
摘要: 全局异常处理配置 @ControllerAdvice //aop public class GlobalExceptionHandler { @ExceptionHandler(Exception.class) @ResponseBody public Result error(Exception 阅读全文
posted @ 2023-03-15 14:16 孔雀东南飞3 阅读(36) 评论(0) 推荐(0)
摘要: swagger-ui.html 配置模板 @Configuration @EnableSwagger2 public class Swagger2Config { @Bean public Docket webApiConfig() { return new Docket(Documentation 阅读全文
posted @ 2023-03-15 14:14 孔雀东南飞3 阅读(271) 评论(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 孔雀东南飞3 阅读(80) 评论(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 孔雀东南飞3 阅读(105) 评论(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 孔雀东南飞3 阅读(218) 评论(0) 推荐(0)