上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
摘要: 1.创建SpringApplication对象 2.调用SpringApplication run 实现启动同时返回当前的容器上下文 分析流程: 1.创建SpringApplication 对象 Springboot容器初始化操作 2. 获取当前应用启动类型 原理:判断当前classpath是否加载 阅读全文
posted @ 2019-10-15 11:12 紫枫夜羽 阅读(177) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { Map<String, Object> map = new HashMap<>(); map.put("1", "111"); map.put("2", "2222"); //1.需求:打印输出已经排好序的字符串数组中 阅读全文
posted @ 2019-10-14 17:32 紫枫夜羽 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 想验证前端传入对象的Integer属性 1.新建一个注解类 @FlagValidator import javax.validation.Constraint; import javax.validation.Payload; import java.lang.annotation.*; /** * 阅读全文
posted @ 2019-10-09 11:44 紫枫夜羽 阅读(350) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/fmjava/p/11576410.html 阅读全文
posted @ 2019-09-24 09:47 紫枫夜羽 阅读(93) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/supermao1013/article/details/83153390 下载docker-quick-start文件 下载地址:https://github.com/ctripcorp/apollo/tree/master/scripts/docker 阅读全文
posted @ 2019-09-23 14:55 紫枫夜羽 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 1.下载一个nexus3的镜像 docker pull sonatype/nexus3 2.将容器内部/var/nexus-data挂载到主机/root/nexus-data目录。 docker run -d -p 8081:8081 --name nexus -v /root/nexus-data 阅读全文
posted @ 2019-09-23 14:39 紫枫夜羽 阅读(350) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/IT_hejinrong/article/details/89921048 注意打开linux端口 iptables -A INPUT -ptcp --dport 8090 -j ACCEPT 阅读全文
posted @ 2019-09-23 10:12 紫枫夜羽 阅读(147) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/shijiujiu33/article/details/90540031 阅读全文
posted @ 2019-09-23 09:46 紫枫夜羽 阅读(248) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/f8746b81d65d 阅读全文
posted @ 2019-09-19 15:30 紫枫夜羽 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1.创建一个springboot项目 2.引用依赖,引用log4j是因为需要用到 <!--druid--> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.10</vers 阅读全文
posted @ 2019-09-18 17:43 紫枫夜羽 阅读(424) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页