- 博客(9)
- 资源 (25)
- 问答 (1)
- 收藏
- 关注
原创 spring boot 2.0集成并使用redis
项目地址:https://gitee.com/indexman/spring_boot_in_action 前面一章介绍了spring boot自带的缓存,下面讲一下如何在2.0版本中集成并使用redis进行数据缓存。 1.修改pom.xml添加redis依赖<!--引入redis--> <dependency> <groupId&...
2019-01-28 21:00:04 479
原创 spring boot使用自带缓存
项目地址:https://gitee.com/indexman/spring_boot_in_action下面就介绍一下如何使用spring boot自带的缓存。按步骤来操作即可,不懂的可以去看项目源码。 1.新建simple-cache模块,修改pom文件<?xml version="1.0" encoding="UTF-8"?><project xmlns...
2019-01-28 18:45:42 4710
原创 Spring boot集成log4j2
spring boot默认使用的是logback作为日志框架,那如何使用log4j2呢?下面就给大家介绍一下集成步骤:此处我使用的是spring boot 2.1.21.新建一个spring boot项目,配置log4j2依赖<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://mave...
2019-01-25 22:02:00 9513 1
原创 使用spring boot jpa进行增删改查
项目地址:https://gitee.com/indexman/spring_boot_in_action 编写实体类Userpackage com.laoxu.springboot.entity;import com.fasterxml.jackson.annotation.JsonIgnoreProperties;import javax.persistence.*;...
2019-01-18 00:07:57 595
原创 解决SQLyog连接mysql报错:Your password has expired
解决步骤如下: D:\program\mysql-5.7.16-winx64\bin>mysql -uroot -pEnter password: *******Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 4Server version: ...
2019-01-17 21:24:56 2483 1
原创 mysql-5.7.16-winx64配置文件
# For advice on how to change settings please see# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the...
2019-01-17 21:16:21 233
原创 Spring boot 2.0启动自动执行sql语句
项目地址:https://gitee.com/indexman/spring_boot_in_action 1.准备sql文件将department.sql放到resources路径下/*Navicat MySQL Data TransferSource Server : 本地Source Server Version : 50528Source Hos...
2019-01-16 13:51:41 2112
原创 spring boot中配置网页语言国际化
项目地址:https://gitee.com/indexman/spring_boot_in_action 开发步骤1.编写国际化配置文件场景是给登录页面 login.html添加国际化支持。 2.使用ResourceBundleMessageSource管理国际化资源文件 3.在页面使用取出国际化内容此处用的是thymleaf模板<!DOC...
2019-01-12 12:56:54 1176
原创 单元测试报错:unable to find a @SpringBootConfiguration
问题描述今天做单元测试报错:unable to find a @SpringBootConfiguration 问题原因有几种可能性,逐个排除下对症下药:1.程序入口类忘了添加:SpringBootApplication注解2.程序入口类的包名和测试类所在包名不一致例如:主类:com.example.application.Application.java测试类...
2019-01-07 09:48:07 4788 3
datatables_demo.zip
2021-01-24
LiveReload210(解压后在谷歌浏览器插件里面加载).zip
2020-12-14
express_file_upload.zip
2020-04-15
springboot_layui_demo.zip
2020-04-14
Java Swing五子棋项目
2019-03-24
AES前端加密解密工具js-crypto.js
2019-02-14
libstdc++.so.5
2014-09-08
mantis1.2.5_XAMPP安装
2014-01-09
PDF解密工具--winDecrypt
2014-01-09
java打包jar文件实例
2013-12-15
ORACLE如何按以下要求返回查询结果?
2015-01-11
TA创建的收藏夹 TA关注的收藏夹
TA关注的人