在各项服务的调用过程中,难免出现断层,但是由于整个链路过于复杂难以排查,则使用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
背景: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
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
加上aliyun的镜像地址,我的maven setting.xml 里完整镜像地址如下: <mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content ...
分类:
编程语言 时间:
2020-11-25 12:28:47
阅读次数:
4
<dependency> <groupId>com.demo</groupId> <artifactId>demo</artifactId> <version>1.0.1-SNAPSHOT</version> <scope>system</scope> <systemPath>${basedir}/ ...
分类:
编程语言 时间:
2020-11-25 12:05:27
阅读次数:
6
mvn install:install-file -Dfile='绝对路径' -DgroupId='包名' -DartifactId='项目名' -Dversion='版本' -Dpackaging='jar/war' 其中: 绝对路径:文件的绝对路径,“\” 或者“/” 都行,一般用“/”; 包名 ...
分类:
其他好文 时间:
2020-11-24 12:25:14
阅读次数:
8