异常处理 1、设置默认错误页面 默认情况下,Spring Boot提供/error处理所有错误的映射,所有我们平时程序出错会弹出如下第二张图页面 对于机器客户端,它将生成JSON响应,其中包含错误,HTTP状态和异常消息的详细信息。对于浏览器客户端,响应一个“ whitelabel”错误视图,以HT ...
分类:
编程语言 时间:
2021-02-18 13:30:23
阅读次数:
0
自动装配 springboot的启动注解是@SpringBootApplication,它是一个组合注解,是由@SpringBootConfiguration、@EnableAutoConfiguration、@ComponentScan组成的。而自动配置就是由@EnableAutoConfigur ...
分类:
编程语言 时间:
2021-02-18 13:20:23
阅读次数:
0
T4模板 <#@ template debug="false" hostspecific="false" language="C#" #> <#@ output extension=".cs" #> <#@ assembly name="System.Data" #> <#@ assembly na ...
分类:
移动开发 时间:
2021-02-17 14:41:02
阅读次数:
0
目录结构 引用路径 <link rel="stylesheet" href="../static/layui/css/layui.css" type="text/css"/> application.properties spring.mvc.static-path-pattern=/static/ ...
分类:
编程语言 时间:
2021-02-17 14:04:34
阅读次数:
0
在/home/用户名/.bashrc 最后一行添加如下代码: alias chrome='google-chrome --proxy-server="127.0.0.1:8889" '#打开代理chrome 在终端运行:source ~/.bashrc 打开谷歌浏览器 ...
分类:
系统相关 时间:
2021-02-16 12:39:11
阅读次数:
0
https://blog.csdn.net/xizanni8476/article/details/80323846?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.contr ...
分类:
系统相关 时间:
2021-02-16 12:37:52
阅读次数:
0
背景 Read the fucking source code! --By 鲁迅 A picture is worth a thousand words. --By 高尔基 说明: KVM版本:5.9.1 QEMU版本:5.0.0 工具:Source Insight 3.5, Visio 文章同步在 ...
分类:
系统相关 时间:
2021-02-16 12:27:04
阅读次数:
0
资料1: https://wladimir-tm4pda.github.io/source/git-repo.html sync命令: repo sync [project-list ] Downloads new changes and updates the working files in y ...
分类:
其他好文 时间:
2021-02-15 12:26:44
阅读次数:
0
1.需求 /** * 需求:每两个元素输出一次 */2 代码 package com.nx.streaming.lesson03; import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.streaming.api ...
分类:
其他好文 时间:
2021-02-15 12:25:40
阅读次数:
0
https://blog.csdn.net/qq_32938957/article/details/98205901 https://blog.csdn.net/LDY1016/article/details/85112631?utm_medium=distribute.pc_relevant.no ...
分类:
其他好文 时间:
2021-02-10 13:21:11
阅读次数:
0