一,引用ocelot,本文测试16版本有BUG,只好使用15.0.7 二,startup的配置,很简单,就是注册和添加管道 using System; using System.Collections.Generic; using System.Linq; using System.Threadin ...
分类:
Web程序 时间:
2020-07-15 10:44:39
阅读次数:
92
1 <?xml version="1.0" encoding="utf-8" ?> 2 <configuration> 3 <configSections> 4 <section name="log4net" type="log4net.Config.Log4NetConfigurationSect ...
分类:
Web程序 时间:
2020-07-15 01:14:22
阅读次数:
107
导入mybatis和mysql相关驱动 配置mybatis-config.xml文件 创建mybatis工具类 编写dao接口 创建mapper.xml 去mybatis-config.xml中注册Dao接口(要用斜杠分割) 去pom文件中配置文件加载的位置 编写运行 ...
分类:
其他好文 时间:
2020-07-15 01:09:12
阅读次数:
65
转自:https://www.jianshu.com/p/a4bb58331107 1 # 2 # CORE PROPERTIES 3 # 4 5 # SPRING 相关配置 (ConfigFileApplicationListener) 6 spring.config.name= # config ...
分类:
移动开发 时间:
2020-07-14 21:49:30
阅读次数:
153
# 当配置中需要配置内存大小时,可以使用 1k, 5GB, 4M 等类似的格式,其转换方式如下(不区分大小写) # # 1k => 1000 bytes # 1kb => 1024 bytes # 1m => 1000000 bytes # 1mb => 1024*1024 bytes # 1g = ...
分类:
其他好文 时间:
2020-07-14 18:18:50
阅读次数:
52
一、系统相关 cat /etc/redhat-release 查看系统版本uname -a 查看系统位数su - hadoop 切换系统账户source /etc/profile 重装配置文件 二、防火墙 firewall-cmd --add-port=3306/tcp 开放3306端口 https ...
分类:
系统相关 时间:
2020-07-14 18:00:46
阅读次数:
79
使用org.mybatis.generator反向生成mapper、mapper.xml、do、doExample文件,配置文件generatorConfig.xml报如下错误:Thecontentofelementtypemustmatch"property*,plugin*,commentGenerator?,jdbcConnection,javaTypeResolver?,javaModel
分类:
其他好文 时间:
2020-07-14 16:40:01
阅读次数:
65
情景:因为不可能所有的属性都放在全局文件(SpringBoot项目使用一个全局的配置文件application.properties或者是application.yml)中 所以需要把一些跟springboot无关的东西放在其他文件,用 @PropertySource:加载指定的配置文件;直接用@P ...
分类:
数据库 时间:
2020-07-14 13:46:59
阅读次数:
162
cat /usr/local/mongodb/etc/mongodb.conf############主库配置文件n内容#################dbpath = /data/mongodb/datalogpath = /usr/local/mongodb/logs/mongodb.logf ...
分类:
数据库 时间:
2020-07-14 13:44:38
阅读次数:
70
mysql修改完配置文件之后,启动失败。一直显示startPending,各种尝试重无果。、 后来才发现是txt格式问题,修改配置文件直接保存就会变成utf-8。解决方法:文本格式另存为改成,ANSC保存。重启电脑就正常启动了。 参考了下面的这篇文章才发现的,记录一下问题的处理。 https://b ...
分类:
数据库 时间:
2020-07-14 13:41:18
阅读次数:
64