上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: pom.xml <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>2.3.1.RELEAS 阅读全文
posted @ 2020-09-13 05:47 复一日 阅读(1380) 评论(0) 推荐(0) 编辑
摘要: 添加-Dfile.encoding=utf-8选项 java -Dfile.encoding=utf-8 -jar dockerFile-1.0-SNAPSHOT.jar 阅读全文
posted @ 2020-09-13 05:17 复一日 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 检查自己的jdk版本 阅读全文
posted @ 2020-09-13 02:47 复一日 阅读(917) 评论(0) 推荐(0) 编辑
摘要: #mybatis 日志 相应的mapper接口路径 logging: level: com.jty.*.dao: debug 阅读全文
posted @ 2020-09-11 00:43 复一日 阅读(3357) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_36358636/article/details/94673307 阅读全文
posted @ 2020-09-10 01:17 复一日 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 一、拉取nacos镜像 docker pull nacos/nacos-server #拉取nacos镜像 #创建挂载文件路径 mkdir -p /usr/local/nacos/logs1 /usr/local/nacos/logs2 /usr/local/nacos/logs3 mkdir -p 阅读全文
posted @ 2020-09-06 03:09 复一日 阅读(11127) 评论(0) 推荐(1) 编辑
摘要: 在/etc/firewalld/firewalld.conf 中禁用 阅读全文
posted @ 2020-09-06 01:37 复一日 阅读(1202) 评论(0) 推荐(0) 编辑
摘要: Nacos Nacos是SpringCloud Alibaba 体系中的服务注册中心和配置中心,帮助发现、配置和管理微服务服务,主要包括服务注册与发现、动态配置以及DNS服务等;详细说明Nacos 服务发现和服务健康监测 下载Nacos https://github.com/alibaba/naco 阅读全文
posted @ 2020-09-04 00:19 复一日 阅读(268) 评论(0) 推荐(0) 编辑
摘要: SpringCloud Config 对于传统的单体应用,配置文件不是很多,在我们环境发生变化(如数据库迁移、更换服务器、更新配置参数等),可以手动修改配置文件并重启。 但由于微服务架构每个服务都有自己独立的配置文件,一个一个修改配置文件的方式面临下面问题: 服务多、配置文件多,管理起来麻烦(万一记 阅读全文
posted @ 2020-08-14 01:27 复一日 阅读(191) 评论(0) 推荐(0) 编辑
摘要: @Bean标注在有参方法上可以获取参数的Bean,若为List集合 则获取继承或实现该类的所有已注入的Bean,验证如下 Person.java public interface Person { /** * 信息 * @return String */ String inf(); } Studen 阅读全文
posted @ 2020-08-09 02:01 复一日 阅读(3052) 评论(0) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页