因为SpringCloudConfig相关的配置信息在程序启动时进行配置信息查询,这个动作发生在application.yml加载之前。 因此需要把springcloudconfig相关的配置信息配置到bootstrap.yml中。例:bootstrap.yml中配置如下信息:spring: clo ...
分类:
编程语言 时间:
2020-02-28 22:54:15
阅读次数:
73
unlock the shadow system UNIX: cd /<update directory>/abap/bin (e.g. /usr/sap/PRD/SUM/abap/bin)./SAPup unlockshd WINDOWS: <drive> cd \<update director ...
分类:
其他好文 时间:
2020-02-28 22:44:39
阅读次数:
84
解决方法:设置跳过ssl校验spring: cloud: config: server: git: uri: https://github.com/xxx/spring-cloud-config-repository.git username: xxx password: yyyy default- ...
分类:
编程语言 时间:
2020-02-28 22:42:10
阅读次数:
423
查看D目录下的文件: 使用os模块创建目录,代码如下: path = r"D:\a\b" isExists = os.path.exists(path) print(isExists) if not isExists: # 路径不存在,即文件名不存在 os.mkdir(path) View Code ...
分类:
其他好文 时间:
2020-02-28 22:21:52
阅读次数:
351
1 先看oracle的监听和oracle的服务是否都启动了。启动oracle监听:cmd的命令行窗口下,输入lsnrctl start,回车即启动监听。2 查看oracle的sid叫什么,比如创建数据库的时候,实例名叫“abc”,那么先手工设置一下oralce的sid,cmd命令窗口中,setORA ...
分类:
其他好文 时间:
2020-02-28 20:24:50
阅读次数:
104
学习python的文件处理,刚开始打开文件,代码如下 f = open('test_file.txt', 'r', encoding='UTF-8')RES = f.readlines()print('读取的内容%s' % RES)f.close()这里运行报错FileNotFoundError: ...
分类:
编程语言 时间:
2020-02-28 18:43:21
阅读次数:
211
背景 项目中开发导入功能,因为数据量比较大,所以要求后端异步操作(个人觉得前端ajax处理最好,有空再试一下)。但是操作中发现改为异步之后,相同代码的情况下会报(No such file or directory)异常 2020-02-28 16:22:51.322 [pool-2-thread-1 ...
分类:
其他好文 时间:
2020-02-28 17:14:26
阅读次数:
239
在 windows 环境下,emacs 的配置目录可以通过下面几种方式来设置: 1. If the environment variableHOME is set, use the directory it indicates. 2. If the registry entry HKCU\SOFTW ...
分类:
系统相关 时间:
2020-02-28 12:18:27
阅读次数:
78
1、什么是supervisor 1. Supervisor是用Python开发的一个client/server服务,是Linux/Unix系统下的一个进程管理工具,不支持Windows系统。、 2. 作用:它可以很方便的监听、启动、停止、重启一个或多个进程。 3. 用Supervisor管理的进程, ...
分类:
系统相关 时间:
2020-02-27 00:48:15
阅读次数:
69
1.nginx 启动出现: 2.打开nginx.conf配置文件,把下面红色部分打开,重启服务器或者重新加载配置文件,这样nginx.pid路径就更改成功! 3. 在sbin/ 路径下执行 ./nginx -c /usr/local/nginx/conf/nginx.conf 出现问题 这个问题是端 ...
分类:
其他好文 时间:
2020-02-25 23:20:08
阅读次数:
86