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