上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 50 下一页
摘要: 前言 Nginx的负载均衡一般采用upstream来实现,但是,还有另一种文件拓展的方式,同样可以实现负载均衡. 一、一般的负载均衡 1 upstream my_server { 2 server localhost:18080; 3 server localhost:19080; 4 } 这里通过 阅读全文
posted @ 2018-01-26 10:04 北极的大企鹅 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1、官网下载这个版本https://www.jetbrains.com2、点击下载即可 3、下载好后放入本地 4、启动mac终端进行破解 输入命令:sudo vim /private/etc/hosts 在文件夹中添加: 0.0.0.0 account.jetbrains.com windows版在 阅读全文
posted @ 2018-01-20 12:32 北极的大企鹅 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 1、jar包导入错误,因为maven下载的原因: 删除这样的包,然后让maven重新下载,问题就会解决 阅读全文
posted @ 2018-01-19 23:05 北极的大企鹅 阅读(1489) 评论(0) 推荐(0) 编辑
摘要: 1、配置pom.xml文档(详见:http://www.cnblogs.com/liuyangfirst/p/8318664.html) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.or 阅读全文
posted @ 2018-01-19 20:39 北极的大企鹅 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 1、配置pom.xml文档 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchem 阅读全文
posted @ 2018-01-19 20:31 北极的大企鹅 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 1、配置pom.xml文档 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchem 阅读全文
posted @ 2018-01-19 20:19 北极的大企鹅 阅读(843) 评论(0) 推荐(1) 编辑
摘要: 1、前景描述 因为我把编译器的快捷键都设置成eclipse模式了,所以要做热部署的时候,需要CTRL + SHIFT + A --> 查找Registry --> 找到并勾选compiler.automake.allow.when.app.running 一直找不到怎么操作 2、问题修改 操作方法就 阅读全文
posted @ 2018-01-19 16:01 北极的大企鹅 阅读(5736) 评论(0) 推荐(0) 编辑
摘要: 继承WebMvcConfigurerAdapter,改写成自己的json转换工具的写法 1、建立实体类 1 package com.fastjson; 2 3 import com.alibaba.fastjson.annotation.JSONField; 4 5 import java.util 阅读全文
posted @ 2018-01-18 11:53 北极的大企鹅 阅读(3224) 评论(0) 推荐(0) 编辑
摘要: 1、选中项目,鼠标右键 >maven >Reimport 阅读全文
posted @ 2018-01-17 20:22 北极的大企鹅 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 一、说明 SpringBoot框架已经自动封装好json字符串解析,所以我们只需要用它的注解来返回操作就可以了. 二、实战 1、书写一个实体类User,设置属性id和name 1 package com.json; 2 3 /** 4 * Created by liuya on 2018-01-17 阅读全文
posted @ 2018-01-17 09:30 北极的大企鹅 阅读(397) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 50 下一页
阅读 - 79万