摘要: 解决方案进入到 tomcat 的 bin 目录下, 用以下命令启动 tomcat 即可 总结Windows 下以 ./startup.sh 命令启动 TomcatLinux 下以 ./catalina.sh start 启动 Tomcat 如果出现 Cannot find /usr/local/to 阅读全文
posted @ 2021-09-02 10:45 王起风 阅读(790) 评论(0) 推荐(0)
摘要: Hystrix断路器 Hystrix是一个用于处理分布式系统的延迟和容错的开源库,在分布式系统里,许多依赖不可避免会调用失败, 比如超时.异常等,Hystrix能够保证在一个依赖出问题的情况下,不会导致整体服务失败,避免级联故障,以提高分布式的弹性。 在某个服务单选出现故障之后,通过断路器的故障监控 阅读全文
posted @ 2021-08-19 02:22 王起风 阅读(111) 评论(0) 推荐(0)
摘要: 每个SpringBoot程序都有一个主入口,也就是main方法,main里面调用SpringApplication.run()启动整个spring-boot程序,该方法所在类需要使用@SpringBootApplication注解,以及@ImportResource注解(if need),@Spri 阅读全文
posted @ 2021-08-15 05:42 王起风 阅读(114) 评论(0) 推荐(0)
摘要: 恢复内容开始 2021-07-22 18:21:25.084 ERROR 28972 [nio-8001-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] 阅读全文
posted @ 2021-07-22 18:26 王起风 阅读(230) 评论(0) 推荐(0)
摘要: 1.1、注解: @GetMapping("/car/{id}/xx/{Username}") public Map<String,Object> getCar(@PathVariable("id") Integer id, @PathVariable("Username") String Usern 阅读全文
posted @ 2021-07-20 15:38 王起风 阅读(55) 评论(0) 推荐(0)
摘要: YAML 是 "YAML Ain't Markup Language"(YAML 不是一种标记语言)的递归缩写。在开发的这种语言时,YAML 的意思其实是:"Yet Another Markup Language"(仍是一种标记语言)。 非常适合用来做以数据为中心的配置文件 字面量:单个的、不可再分 阅读全文
posted @ 2021-07-15 20:51 王起风 阅读(56) 评论(0) 推荐(0)
摘要: @SpringBootConfiguration @EnableAutoConfiguration @ComponentScan(excludeFilters = { @Filter(type = FilterType.CUSTOM, classes = TypeExcludeFilter.clas 阅读全文
posted @ 2021-07-15 13:49 王起风 阅读(65) 评论(0) 推荐(0)
摘要: lombok{ 需要引入依赖 <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId></dependency> @Slf4j//日志 @ToString//ToString 方法 @Data/ 阅读全文
posted @ 2021-07-15 09:48 王起风 阅读(39) 评论(0) 推荐(0)
摘要: @keyframes animation-name animation-duration animation-delay animation-iteration-count animation-direction animation-timing-function animation-fill-mo 阅读全文
posted @ 2021-07-14 13:35 王起风 阅读(20) 评论(0) 推荐(0)
摘要: transition 属性描述 transition 简写属性,用于将四个过渡属性设置为单一属性。 transition-delay 规定过渡效果的延迟(以秒计)。多久开始 transition-duration 规定过渡效果要持续多少秒或毫秒。 transition-property 规定过渡效果 阅读全文
posted @ 2021-07-14 11:32 王起风 阅读(58) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示