1.添加maven dependency 2.mven plugin中添加configuration <configuration> <includeSystemScope>true</includeSystemScope> </configuration> ...
分类:
编程语言 时间:
2019-11-08 19:20:45
阅读次数:
104
/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
# 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
文件名为: logback-spring.xml, 放在resources的根目录下,日志配置内容如下: <?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- 日志路径,可以读取application.yml文件的具体配置 --> < ...
分类:
编程语言 时间:
2019-11-07 16:29:07
阅读次数:
83
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
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
程序源码: import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.hibernate.cfg.Configuration; imp ...
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
1、自定义静态资源访问 第一种方式 1、配置类 @Configuration public class WebMvcConfig implements WebMvcConfigurer { @Override public void addResourceHandlers(ResourceHandl ...
分类:
编程语言 时间:
2019-11-05 01:23:20
阅读次数:
180