![240](https://cdn2.jianshu.io/assets/default_avatar/15-a7ac401939dd4df837e3bbf82abaa2a8.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
1、虚拟机安装windows 首先安装vmware,再安装win10专业版系统 注意,这里有两个坑 1.1 在虚拟机的设置中,勾上虚拟化引擎 1.2 勾上windows功能中...
1、打war包 1.1修改pom.xml 将打包方式修改为war war 添加依赖 <dependency> <groupId>org.springframework.bo...
1、mybatis分页 1.1、加入依赖 <dependency> <groupId>com.github.pagehelper</groupId> pagehelper...
1、热部署 只需要在pom.xml加入如下配置即可 <dependency> <groupId>org.springframework.boot</groupId> s...
1.RabbitMQ 1.1添加依赖 <dependency> <groupId>org.springframework.boot</groupId> spring-b...
1.整合redis @Configuration @PropertySource(value = "classpath:redis.properties") public c...
1.自定义springMVC的配置,增加拦截器 通过继承WebMvcConfigurerAdapter然后重写父类中的方法进行扩展 @Configuration //申明这是...
1. Spring Boot提倡零配置,即无xml配置,但是在实际的项目种,可能有一些特殊要求你必须使用xml配置,这时我们可以通过spring 提供的@ImportReso...
1. @SpringBootApplication @SpringBootApplication注解是Spring Boot的核心注解,它其实是一个组合注解 1.1 @Spr...
1.@Configuration和@Bean Spring的Java配置方式是通过@Configuration 和 @Bean 这两个注解实现的: 1.1、@Configur...