码迷,mamicode.com
首页 >  
搜索关键字:springboot配置    ( 305个结果
springboot配置springMVC
/** * @ClassName MvcConfigure * @Description SpringMVC配置 * @Author JAGNG * @Date 2019/10/28 10:23 **/ @Configuration public class MvcConfigure impleme ...
分类:编程语言   时间:2019-11-19 17:13:16    阅读次数:87
springboot配置文件 application.yml注意事项(Failed to load property source from location 'classpath:/applica)
这种 加载yml文件失败的原因 多是配置文件的格式出现了错误 参考:https://blog.csdn.net/linjy520/article/details/79455842 springboot配置文件 application.yml注意事项(Failed to load property s ...
分类:移动开发   时间:2019-11-14 18:06:03    阅读次数:83
springboot整合drui、mybatis、pagehelper
springboot配置数据连接池druid Druid是阿里巴巴开发的号称为监控而生的数据库连接池,Druid是目前最好的数据库连接池。 在功能、性能、扩展性方面,都超过其他数据库连接池,同时加入了日志监控, 可以很好的监控DB池连接和SQL的执行情况配置pom依赖 <dependency> <g ...
分类:编程语言   时间:2019-11-10 11:56:23    阅读次数:94
Springboot配置ssl使用https
SSL(Secure Sockets Layer 安全套接层)是为网络通信提供安全及数据完整性的一种安全协议,SSL在网络传输层对网络连接进行加密,SSL协议位于TCP/IP协议与各种应用层协议之间,为数据通信提供安全支持。SSL协议分为两层,SSL记录协议建立在TCP之上,为高层协议提供数据封装、 ...
分类:编程语言   时间:2019-11-09 19:31:07    阅读次数:117
springboot配置数据库连接池druid、整合mybatis、整合pagehelper
springboot配置数据库连接池druid druid所需pom依赖 <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> <version>1.1.10</v ...
分类:数据库   时间:2019-11-09 13:56:03    阅读次数:100
Springboot配置文件内容加密
使用的是jasypt-spring-boot-starter,具体介绍可以参考 https://gitee.com/yangziyi2017/Jasypt-Spring-Boot 引入依赖 <dependency> <groupId>com.github.ulisesbocchio</groupId ...
分类:编程语言   时间:2019-11-07 19:40:18    阅读次数:235
SpringBoot配置文件application.properties数据库配置
1 #DB Configuration 2 spring.datasource.driver-class-name=com.mysql.jdbc.Driver 3 spring.datasource.url=jdbc:mysql://127.0.0.1:3306/user?useUnicode=tr ...
分类:移动开发   时间:2019-11-05 21:21:11    阅读次数:281
springboot配置
1、自定义静态资源访问 第一种方式 1、配置类 @Configuration public class WebMvcConfig implements WebMvcConfigurer { @Override public void addResourceHandlers(ResourceHandl ...
分类:编程语言   时间:2019-11-05 01:23:20    阅读次数:180
SpringBoot配置介绍
SpringBoot配置介绍 SpringBoot如何进行配置 在SpringBoot中默认使用Servlet3.0可以没有web.xml,没有任何的xml,我们想要做一些自定义配置,比u数据库相关信息,该如何配置呢? 在没有Spring的时代,我们一般采用Java配置,Spring1.0开始,Sp ...
分类:编程语言   时间:2019-11-04 17:56:16    阅读次数:89
springcloud注解解释
@SpringBootApplication是springboot启动类,包括三个注解,他们的作用分别是: @Configuration:表示将该类作用springboot配置文件类 @EnableAutoConfiguration:表示程序启动时,自动加载springboot默认的配置 @Comp ...
分类:编程语言   时间:2019-11-03 01:30:58    阅读次数:100
305条   上一页 1 ... 10 11 12 13 14 ... 31 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!