会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
赖伟春
少年不知勤学苦,老来方悔读书迟
博客园
首页
新随笔
联系
订阅
管理
2020年3月16日
SpringBoot(6) 集成Druid数据源
摘要: 介绍两种方式集成,一般都是使用application.prperties文件来配置。 1,使用springboot配置文件(application.properties)集成。 2,使用配置类集成。 SpringBoot提倡基于java的配置,尽管你可以使用XML源调用SpringApplicati
阅读全文
posted @ 2020-03-16 22:55 听~风在北边
阅读(547)
评论(0)
推荐(0)
2020年3月14日
SpringBoot 2.2.5版本 无法跳转jsp页面
摘要: 1,方式一 IDEA配置 步骤一:点击 edit configurations 步骤二:点击 Environment 步骤三:点击 working directory 选择第三个,点击应用ok。 2,方式二:添加一个配置文件。 1 @Configuration 2 public class Glob
阅读全文
posted @ 2020-03-14 15:20 听~风在北边
阅读(798)
评论(0)
推荐(0)
2020年3月13日
Centos7 给Redis设置密码,开放远程访问权限
摘要: redis的安装与启动可参考前一篇文章:https://www.cnblogs.com/268lwc/p/12486284.html redis安装成功后,默认是没有设置密码的启动redis-cli,不需要认证,可直接进行操作,如下: 1 2 3 [root@izwz991stxdwj560bfma
阅读全文
posted @ 2020-03-13 14:32 听~风在北边
阅读(638)
评论(0)
推荐(0)
Centos7 安装Redis
摘要: 一、安装redis 第一步:下载redis安装包 wget http://download.redis.io/releases/redis-4.0.6.tar.gz [root@iZwz991stxdwj560bfmadtZ local]# wget http://download.redis.io
阅读全文
posted @ 2020-03-13 14:28 听~风在北边
阅读(238)
评论(0)
推荐(0)
CentOs7 安装Mysql数据库
摘要: 下载 MySQL 源的安装包 wget http://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm 安装 MySql 源 yum -y install mysql57-community-release-el7-11.no
阅读全文
posted @ 2020-03-13 14:22 听~风在北边
阅读(231)
评论(0)
推荐(0)
2020年3月12日
SpringBoot(5) 热部署集成
摘要: 相信从eclipse转idea的开发人员,和 idea相比都会挺喜欢eclipse的热部署功能,因为改了前端页面又要重新发布实在太麻烦。 在SpringBoot我们可以使用 spring-boot-devtools 来实现热部署功能。 spring-boot-devtools 是一个为开发者服务的一
阅读全文
posted @ 2020-03-12 11:59 听~风在北边
阅读(203)
评论(0)
推荐(0)
SpringBoot(4) 集成SpringMVC and JSP
摘要: 1,新建SpringBoot项目 2,导入所需依赖(我这里直接贴pom文件咯) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:
阅读全文
posted @ 2020-03-12 11:31 听~风在北边
阅读(975)
评论(0)
推荐(0)
2020年3月10日
SpringBoot (3) 集成Mybatis实现简单的增删改查
摘要: 1,新建SpringBoot项目 2,导入所需的依赖 1 //web支持 2 <dependency> 3 <groupId>org.springframework.boot</groupId> 4 <artifactId>spring-boot-starter-web</artifactId> 5
阅读全文
posted @ 2020-03-10 15:58 听~风在北边
阅读(324)
评论(0)
推荐(0)
SpringBoot (2) HelloWorld 探究
摘要: 一,pom文件 1.父项目 我们的父项目:<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.2.5.RELEASE</
阅读全文
posted @ 2020-03-10 11:55 听~风在北边
阅读(202)
评论(0)
推荐(0)
2020年3月9日
SpringBoot(1) 入门 (第一章)
摘要: 一,简介 Spring boot 来简化Spring应用的开发,约定大于配置,去繁从简,just run 就能创建一个独立,产品级别的应用。 背景: J2EE笨重的开发,繁多的配置,低下的开发效率,复杂的部署流程,第三方技术集成困难。 解决: “Spring全家桶” 时代。 Spring boot
阅读全文
posted @ 2020-03-09 21:11 听~风在北边
阅读(222)
评论(0)
推荐(0)
下一页
公告