在各项服务的调用过程中,难免出现断层,但是由于整个链路过于复杂难以排查,则使用zipkin可以清楚的看见每次访问的情况和整体的链路分布,及每个应用的依赖和被依赖的项目是什么。 1.下载zipkin https://dl.bintray.com/openzipkin/maven/io/zipkin/j ...
分类:
编程语言 时间:
2020-11-30 16:00:42
阅读次数:
8
出现的错误为: Multiple annotations found at this line:- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plu ...
分类:
其他好文 时间:
2020-11-30 15:21:50
阅读次数:
4
Dubbo接口泛化调用▼关注测试君|会上瘾涉及jar包:<dependency><groupId>com.alibaba</groupId><artifactId>dubbo</artifactId><version>2.8.4</version></dependency><dependency&
分类:
其他好文 时间:
2020-11-30 15:17:06
阅读次数:
7
背景:idea 界面maven >install成功 cmd mvn dependency:copy-dependencies 本地仓库jar报错找不到 直接使用mvn使用的 是C:\Users\Administrator\.m2\settings.xml idea使用的是指定的settings.x ...
分类:
编程语言 时间:
2020-11-27 11:51:12
阅读次数:
20
一、配置 1.添加依赖 在 springboot 启动器中直接添加依赖,或者创建后添加 Maven 依赖: <!--spring-boot-starter-data-redis--> <dependency> <groupId>org.springframework.boot</groupId> < ...
分类:
编程语言 时间:
2020-11-27 11:49:48
阅读次数:
20
列出的都是我工作中用上的,不足之处请在评论区补充,本文持续更新,分享才能进步加油! jps -l :查看所有的进程和 pid tail -100f :动态查看后100行 cat:查看所有 kill -9 pid :杀死进程 ll:纵表展示目录 history / history 100 :展示历史命 ...
分类:
系统相关 时间:
2020-11-27 11:17:51
阅读次数:
14
1.多配置文件,其中application.properties中的spring.profiles.active能够灵活的切换使用环境 application.properties spring.mvc.view.prefix=/WEB-INF/jsp/ spring.mvc.view.suffix ...
分类:
编程语言 时间:
2020-11-26 15:24:02
阅读次数:
14
1. 引入maven依赖 1 <dependency> 2 <groupId>commons-io</groupId> 3 <artifactId>commons-io</artifactId> 4 <version>2.6</version> 5 </dependency> 2. 将zip文件转化 ...
分类:
其他好文 时间:
2020-11-26 15:18:31
阅读次数:
14
在setttins.xml文件中找到<mirrors></mirrors>标签对,进行修改: 1 <mirrors> 2 <mirror> 3 <id>nexus-aliyun</id> 4 <mirrorOf>*</mirrorOf> 5 <name>Nexus aliyun</name> 6 < ...
分类:
其他好文 时间:
2020-11-26 15:05:05
阅读次数:
6
如何使用eclipse使用Maven Maven Eclipse Eclipse 提供了一个很好的插件 m2eclipse ,该插件能将 Maven 和 Eclipse 集成在一起。 在最新的 Eclipse 中自带了 Maven,我们打开,Windows->Preferences,如果会出现下面的 ...
分类:
系统相关 时间:
2020-11-26 15:03:00
阅读次数:
7