代码地址:https://github.com/LoveWK/mySpring/tree/master/myIocDemo 1.创建MyAnnotation类 1 @Configuration//java配置类注解 2 @ComponentScan("com.wk")//设置扫描包的路径 3 pub ...
分类:
编程语言 时间:
2020-03-19 23:15:12
阅读次数:
129
Windows 10,XAMMP-WINDOWS-X64-7.3.6-0-VC15,公司局域网。 1. XAMMP 中集成了 Mercury 邮件服务,在主控制面板中启动 Mercury,点击相应的 Admin 按钮打开 Mercury 控制面板,进入 Configuration / Mercury ...
分类:
Web程序 时间:
2020-03-18 13:43:18
阅读次数:
79
引用:https://www.jb51.net/article/156357.htm 通过密钥登录要执行的服务器,结果各种错误,通过上方的文章得以解决。先摘抄下来 最终要的就是通过这条命令来解决,如下: 通过下面的命令,表示可以通过机器192.168.AA.AAA免密登录到机器192.168.BB. ...
分类:
其他好文 时间:
2020-03-18 13:26:58
阅读次数:
53
maven由于他的约定大于配置,我们之后可以能遇到我们写的配置文件,无法被导出或者生效的问题,解决方法: <build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.prop ...
分类:
移动开发 时间:
2020-03-16 19:15:04
阅读次数:
89
使用idea开发的web需要的环境准备 在Run Edit Configuration 中配置Tomcat 点上面的+号(选择本地) 设置路径名 idea中Tomcat乱码问题 Flie setting 搜FlieEncoding,改成UTF 8 打开idea工作目录 在idea.exe.vmopt ...
分类:
Web程序 时间:
2020-03-16 15:09:15
阅读次数:
66
# Flanneld configuration options # etcd url location. Point this to the server where etcd runs FLANNEL_ETCD_ENDPOINTS="http://127.0.0.1:2379" # etcd c ...
分类:
其他好文 时间:
2020-03-15 11:49:25
阅读次数:
49
SpringConfiguration.java 1 /** 2 * spring的配置类,相当于bean.xml 3 */ 4 @Configuration 5 @ComponentScan("com.fanxian") 6 @Import({JdbcConfig.class,Transactio ...
分类:
编程语言 时间:
2020-03-15 11:33:50
阅读次数:
61
配置mapper的type使用package(使用注解来配置mapper): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "htt ...
分类:
移动开发 时间:
2020-03-15 09:43:59
阅读次数:
74
设置终端不超时 1. H3C user-interface vty 1 idle-timeout 0 查看启动配置 1. H3C: show saved-configuration 2. Cisco: 3. Huawei: 配置ECMP负载算法 1. H3C: ip load-sharing mod ...
分类:
其他好文 时间:
2020-03-14 23:56:12
阅读次数:
100
spring 项目可以通过注解方式使用 nacos-client 使用示例 @Configuration @EnableNacosConfig(globalProperties = @NacosProperties(serverAddr = "127.0.0.1:8848")) @NacosProp ...
分类:
编程语言 时间:
2020-03-14 16:22:02
阅读次数:
328