码迷,mamicode.com
首页 >  
搜索关键字:@Configuration    ( 5921个结果
Maven打包引入本地jar包
1.添加maven dependency 2.mven plugin中添加configuration <configuration> <includeSystemScope>true</includeSystemScope> </configuration> ...
分类:编程语言   时间:2019-11-08 19:20:45    阅读次数:104
设置SSH仅秘钥登录,禁止密码登录
/etc/ssh/sshd_config # $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $ # This is the sshd server system-wide configuration file. See # sshd ...
分类:其他好文   时间:2019-11-08 18:56:34    阅读次数:147
安装mysql5.7时缺少my.ini文件
# For advice on how to change settings please see # http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html # *** DO NOT EDIT THIS F ...
分类:数据库   时间:2019-11-07 23:27:00    阅读次数:315
spring boot logback 日志配置
文件名为: logback-spring.xml, 放在resources的根目录下,日志配置内容如下: <?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- 日志路径,可以读取application.yml文件的具体配置 --> < ...
分类:编程语言   时间:2019-11-07 16:29:07    阅读次数:83
MyBatis全局配置文件
mybatisConfig.xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/ ...
分类:其他好文   时间:2019-11-07 16:27:14    阅读次数:112
macOS 安装 MongoDB4.2
brew tap mongodb/brew brew install mongodb-community@4.2 In addition to the binaries, the install creates: the configuration file (/usr/local/etc/mong ...
分类:数据库   时间:2019-11-07 09:36:22    阅读次数:129
解决跨域问题
springmvc自带解决跨域问题的方法,需要在springboot中配置就可以解决跨域问题 import org.springframework.context.annotation.Configuration;import org.springframework.web.cors.CorsCon ...
分类:其他好文   时间:2019-11-06 23:09:29    阅读次数:124
hibernate的API
程序源码: import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.hibernate.cfg.Configuration; imp ...
分类:Windows程序   时间:2019-11-05 21:46:02    阅读次数:122
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
5921条   上一页 1 ... 71 72 73 74 75 ... 593 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!