Spring Cloud Config Server使用文件后端储存配置
要使用文件系统存储配置文件,需要激活native 配置使用使用文件系统时,要加上file://前缀,在Windows下则要使用file:///。 配置示例: 对应的配置文件存储如下图: file./data对应到启动jar包下的目录data,所以 ...
Intellij IDEA运行报Command line is too long(命令行过长)解决方法
报错内容: Error running ‘ServiceStarter’: Command line is too long. Shorten command line for ServiceStarter or also for Application default configuration. 解法: 修改项目下 .idea\workspace.xml,找 ...
警告:No archetype found in remote catalog. Defaulting to internal catalog.
新建maven项目时,Run中报警告:No archetype found in remote catalog. Defaulting to internal catalo在远程目录中没有找到原型。默认为内部编录。】 现在提供两种方式 一: 二: 在maven的VM Options加 ...