文件-> 首选项->设置 -> 扩展 找到Run Code configuration 里面的Run in Terminal 勾选的行了 ...
分类:
其他好文 时间:
2020-03-06 01:43:09
阅读次数:
72
def Email(to, content): urllib3.disable_warnings() creds = Credentials( username='algex\spsaccount', password='Spsaccount' ) config = Configuration(se ...
分类:
编程语言 时间:
2020-03-05 16:46:55
阅读次数:
82
完整错误信息:Description Resource Path Location TypeProject configuration is not up-to-date with pom.xml. Run Maven->Update Project or use Quick Fix. xunge- ...
分类:
其他好文 时间:
2020-03-05 10:33:48
阅读次数:
84
解决Tomcat控制台输出乱码问题 打开Edit Configuration,在VM options一栏输入 -Dfile.encoding=UTF-8 然后到IDEA的bin目录找到 idea64.exe.vmoptions 同样添加到文末 ...
分类:
其他好文 时间:
2020-03-05 00:54:58
阅读次数:
56
<?xml version="1.0" encoding="UTF-8"?><configuration scan="true" scanPeriod="60 seconds" debug="false"> <!-- 定义参数常量 --> <!-- TRACE<DEBUG<INFO<WARN<ERR ...
分类:
其他好文 时间:
2020-03-04 20:51:04
阅读次数:
61
深度解析互联网大厂面试难题自定义@EnableXX系列其实是一个@Import的设计技巧创建注解@EnableXX(任何名称注解都行,只是这个名字好一些)XXConfiguration类不能使用@Component,不然Bean就立即注册了,达不到开关的目的使用@EnableXX注解的时候,一定是与@Component或者@Configuration进行复合使用,否则开关本身无效,换句话说就是让别
分类:
其他好文 时间:
2020-03-04 15:11:33
阅读次数:
83
@Configuration+@ConfigurationProperties+@EnableConfigurationProperties最佳设计方案(现在又改板了):Bean上面直接设置@ConfigurationProperties//需要依赖spring-boot-configuration-processor@ConfigurationProperties(prefix="st
分类:
其他好文 时间:
2020-03-04 12:36:30
阅读次数:
78
@Configuration public class WebMvcConfig extends WebMvcConfigurationSupport { public FastJsonHttpMessageConverter fastJsonHttpMessageConverter() { Fas ...
分类:
编程语言 时间:
2020-03-04 00:38:22
阅读次数:
149
配置core-site.xml <configuration> <!-- 把两个NameNode)的地址组装成一个集群mycluster --> <property> <name>fs.defaultFS</name> <value>hdfs://mycluster</value> </proper ...
分类:
其他好文 时间:
2020-03-04 00:07:55
阅读次数:
86
<?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- 数据库连接串 --> <configSections> </configSections> <connectionStrings> <add name="Sql" connect ...
分类:
其他好文 时间:
2020-03-02 22:22:40
阅读次数:
97