上一页 1 ··· 16 17 18 19 20
摘要: 找不到这个类,找不到那个类... Spring Boot 2.0 (and Spring Framework 5 upon which it builds) requires a Servlet 3.1 compatible container. Tomcat 7 only implements S 阅读全文
posted @ 2018-06-11 15:36 funny_coding 阅读(697) 评论(0) 推荐(0) 编辑
摘要: 不同网络的请求转发, 一般情况下是服务提供者P和客户端C直接通信, 但是如果CP不通,需要网关服务G进行转发。 如果G只是一台机器,转发还比较容易 如果G是一个集群, 结果就需要在集群内转发, 解决方案: 尽量让CP之间只经过一个G, 重写hash路由,前后都需要. 阅读全文
posted @ 2018-06-11 13:39 funny_coding 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 输出结果 关键是字符的输出,因为前面的数字是递减的,而字符是递增的,因此需要使用数字强转成char 阅读全文
posted @ 2018-06-10 11:37 funny_coding 阅读(128) 评论(0) 推荐(0) 编辑
摘要: https://docs.docker.com/engine/reference/commandline docker run Run a command in a new container 启动一个新的容器,一般在docker pull之后首次运行此image -i 保持stdout打开 -t 阅读全文
posted @ 2018-06-09 20:49 funny_coding 阅读(2069) 评论(0) 推荐(0) 编辑
摘要: * lsof -i:8080 执行时查看不到结果,此端口可能也是占用状态.需要sudo权限 * scp 源 目的 scp -r root@11.11.11.12:/home/xxx/ localhost:/xxx/ * ```tail -n 1000 app.log|grep -o '.*节目任务' 阅读全文
posted @ 2018-06-08 17:18 funny_coding 阅读(1216) 评论(0) 推荐(0) 编辑
摘要: Executors创建不同类型的Executor, executor执行不同的runnable task Executor: Runnable: 阅读全文
posted @ 2018-06-08 17:02 funny_coding 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 在被CDATA包围的所有字符串不会被mybatis解析, 直接写入sql了 CDATA应该只用在特殊字符前后,不能用在 等标签前面, 下图中and前面可以使用,但是前面不能用 阅读全文
posted @ 2018-06-07 19:11 funny_coding 阅读(524) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20
build beautiful things, share happiness