- 博客(10)
- 资源 (2)
- 收藏
- 关注
原创 maven 打jar包时将本地依赖的jar包打入
1、将本地jar包安装到本地repository中mvn install:install-file -Dfile=open-api-sdk-2.0.jar -DgroupId=open-api-sdk -DartifactId=open-api-sdk -Dversion=2.0 -Dpackaging=jar 2、在pom.xml中引入依赖<dependency> ...
2020-03-26 21:38:01
776
原创 springboot配置log4j2报错:java.lang.IllegalStateException: Logback configuration error detected:
引入log4j2后启动报错。Exception in thread "main" java.lang.IllegalStateException: java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.spi.Interpreter@7:...
2020-03-19 09:44:19
2288
原创 SpringBoot打WAR包部署
1.先将默认的打包方式由jar更换为war,打开pom修改jar为war2.在pom.xml文件中添加如下的依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</ar...
2020-02-28 20:18:01
193
原创 docker push失败:denied: requested access to the resource is denied
push报错:经过半小时的搜索,才知道是因为镜像名称和创建的仓库用下面。于是,修改镜像名称,增加用户名称:再次push成功:
2019-06-19 20:28:09
441
原创 Centos7 dockers下载镜像报错: Get https://registry-1.docker.io/v2/: net/http: request canceled
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers).解决方案:1)创建daemon.json文件vim /etc/docker/daemon.js...
2019-06-14 15:41:18
1963
2
原创 docker服务启动失败:Failed to start Docker Application Container Engine
启动docker服务会报错:Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a newer kernel or disable selinux in docker (–selinux-enabled=false)解决办法...
2019-06-14 15:17:03
3118
1
原创 CentOS 7镜像下载
阿里云站点:http://mirrors.aliyun.com/centos/7/isos/x86_64/各个版本的ISO镜像文件说明:CentOS-7-x86_64-DVD-1708.iso 标准安装版(推荐)CentOS-7-x86_64-Everything-1708.iso完整版,集成所有软件(以用来补充系统的软件或者填充本地镜像)CentOS-7-...
2019-06-02 16:42:01
2713
2
原创 SpringCloud请求/refresh时报错Full authentication is required to access this resource
在刷新配置中心的时候,如:http://localhost:8082/refresh{"timestamp":1558359591610,"status":401,"error":"Unauthorized","message":"Full authentication is required to access this resource.","path":"/refresh"}是因为 s...
2019-05-20 21:48:55
1628
原创 java中jdk和jre的区别
JRE是Java Runtime Environment的缩写,顾名思义是java运行时环境,包含了java虚拟机,java基础类库。是使用java语言编写的程序运行所需要的软件环境,是提供给想运行java程序的用户使用的,还有所有的Java类库的class文件,都在lib目录下,并且都打包成了jar。至于在Windows上的虚拟机是哪个文件呢?就是<JRE安装目录>/bin/cli...
2019-04-19 09:10:10
191
原创 mongodb及github下载太慢的解决方法
1.mongodb下载地址:http://dl.mongodb.org/dl/win32/x86_64。2.cmd 命令ping dl.mongodb.org得到ip地址。如图。3.修改C:\Windows\System32\drivers\etc\ 下hosts文件在末尾加上 52.21.89.200 dl.mongodb.org。重新打开浏览器下载,虽然不能全网速下载,但是也有500k/s...
2018-11-22 21:09:15
5609
7
activiti6.0最新下载
2019-04-11
Linux操作系统下oracle安装静默安装,2018年亲测有效
2018-10-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人