上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页
摘要: 1、https://github.com/alibaba/p3c 源码地址 本插件,完全依照:阿里巴巴Java开发手册(终极版).pdf的规则进行 2、搜索插件 依次选择:Setting >> Plugins >> Browse repositories x 选中安装即可 3、使用 Tools >> 阅读全文
posted @ 2017-10-15 21:48 mabiao008 阅读(835) 评论(0) 推荐(0)
摘要: 输出结果: 阅读全文
posted @ 2017-10-10 20:07 mabiao008 阅读(200) 评论(0) 推荐(0)
摘要: RestTemplate restTemplate = new RestTemplate(); Object result = restTemplate.getForObject("https://www.baidu.com", String.class); @Controller public class RestTemplateAction { @Autowired ... 阅读全文
posted @ 2017-10-09 18:49 mabiao008 阅读(4921) 评论(0) 推荐(0)
摘要: 1、在application.properties文件中配置spring.thymeleaf.cache=false 2、设置中勾选上自动编译 3、 <dependency> <groupId>org.springframework</groupId> <artifactId>springloade 阅读全文
posted @ 2017-09-27 12:40 mabiao008 阅读(152) 评论(0) 推荐(0)
摘要: devtools可以实现页面热部署,即页面修改后会立即生效 1、pom文件 2、pom文件 3、以在application.properties文件中配置spring.thymeleaf.cache=false 4、设置中勾选上自动编译 5、Ctrl+Shift+Alt+ / 选中 6、勾选红框部分 阅读全文
posted @ 2017-09-27 12:36 mabiao008 阅读(382) 评论(0) 推荐(0)
摘要: springboot使用jpa时报错: 只有删除时报错了, "data": "删除失败,原因:Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceExce 阅读全文
posted @ 2017-09-04 19:00 mabiao008 阅读(1519) 评论(0) 推荐(0)
摘要: /** * @Description: * @Author: mabiao * @Date: ${DATE} */ 阅读全文
posted @ 2017-09-01 20:45 mabiao008 阅读(243) 评论(0) 推荐(0)
摘要: mysql数据库设计,其中,对于数据性能优化,字段类型考虑很重要,搜集了些资料,整理分享出来,这篇为有关mysql整型bigint、int、mediumint、smallint 和 tinyint的语法介绍,如下:1、bigint 从 -2^63 (-9223372036854775808) 到 2 阅读全文
posted @ 2017-08-31 11:30 mabiao008 阅读(180) 评论(0) 推荐(0)
摘要: 分类 功能点 Eclipse快捷键 IDEA快捷键 搜索 搜索文本 Ctrl + F Ctrl + F Ctrl + R 查找替换 Alt + P/A 逐个/全部替换 Alt + F3 查找当前选中词 继续搜索 Ctrl + K 向前 Ctrl + Shift + K 向后 F3 Shift + F 阅读全文
posted @ 2017-08-30 16:42 mabiao008 阅读(188) 评论(0) 推荐(0)
摘要: 添加Swagger2依赖 在pom.xml中加入Swagger2的依赖 创建Swagger2配置类 在Application.java同级创建Swagger2的配置类Swagger2。 添加文档内容 User类 访问:http://localhost:8081/swagger-ui.html 阅读全文
posted @ 2017-08-17 09:34 mabiao008 阅读(146) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页