草庐IT

space-before

全部标签

feign调用不通问题,JSON parse error: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r

1、​​​​​​feign不指定url调用不通,        新知识:原来url:http://172.29.126.162:1010/hc-system/platform/organization/person/10001使用微服务调用:http://hc-system/platform/organization/person/10001,去掉ip和端口也能调用通。(ribbon负载均衡)feign指定ip和端口时,会把ip和端口拼在url前,不指定的话会把服务名拼接在url前。    背景:开始写松兰山项目时,使用feign调用hc那边服务的接口,因为不指定url(ip和端口)时调用不通

feign调用不通问题,JSON parse error: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r

1、​​​​​​feign不指定url调用不通,        新知识:原来url:http://172.29.126.162:1010/hc-system/platform/organization/person/10001使用微服务调用:http://hc-system/platform/organization/person/10001,去掉ip和端口也能调用通。(ribbon负载均衡)feign指定ip和端口时,会把ip和端口拼在url前,不指定的话会把服务名拼接在url前。    背景:开始写松兰山项目时,使用feign调用hc那边服务的接口,因为不指定url(ip和端口)时调用不通

docker “no space left on device” 解决方案

问题原因:出现此问题一般是docker 根目录空间不足导致解决方案:修改DockerRootDir 的值,指向一个更大空间的目录.1. 查看docker磁盘使用情况dockersystemdf2.查看docker挂载目录dockerinfo|grep"DockerRootDir"默认目录为/var/lib/docker查看目录的占用情况df-hl/var/lib/docker3.关闭dockersystemctlstopdocker4.创建新的挂载目录mkdir-p/app/dockerdata5.复制数据mv/var/lib/docker/app/dockerdata/6.修改docker配

c# - "An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full"

我用C#编写了一个IP多播应用程序。它编译得很好,但在运行时这一行:sock.SetSocketOption(SocketOptionLevel.IP,SocketOptionName.AddMembership,newMulticastOption(IPAddress.Parse("224.100.0.1")));抛出未处理的套接字异常:Anoperationonasocketcouldnotbeperformedbecausethesystemlackedsufficientbufferspaceorbecauseaqueuewasfull我在Google中搜索错误,有人建议删除可

c# - "An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full"

我用C#编写了一个IP多播应用程序。它编译得很好,但在运行时这一行:sock.SetSocketOption(SocketOptionLevel.IP,SocketOptionName.AddMembership,newMulticastOption(IPAddress.Parse("224.100.0.1")));抛出未处理的套接字异常:Anoperationonasocketcouldnotbeperformedbecausethesystemlackedsufficientbufferspaceorbecauseaqueuewasfull我在Google中搜索错误,有人建议删除可

c# - 错误 : The Out Parameter must be assigned before control leaves the current method

发送回参数时出现此错误Error:TheOutParametermustbeassignedbeforecontrolleavesthecurrentmethod代码是publicvoidGetPapers(stringweb,outintId1,outintId2){SqlConnectionconn=newSqlConnection(ConnectionString());conn.Open();SqlCommandcmd=newSqlCommand("GetPapers",conn);cmd.CommandType=CommandType.StoredProcedure;cmd.

c# - 错误 : The Out Parameter must be assigned before control leaves the current method

发送回参数时出现此错误Error:TheOutParametermustbeassignedbeforecontrolleavesthecurrentmethod代码是publicvoidGetPapers(stringweb,outintId1,outintId2){SqlConnectionconn=newSqlConnection(ConnectionString());conn.Open();SqlCommandcmd=newSqlCommand("GetPapers",conn);cmd.CommandType=CommandType.StoredProcedure;cmd.

javax.net.ssl.SSLException: closing inbound before receiving peer‘s close_notify

问题描述用generator逆向生成的时候遇到一个报错jdbc.connectionURL=jdbc:mysql://localhost:3306/ssmnew?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT原因分析:这错误出现原因是要求开启了mysql的ssl验证(MySQL5.7+默认是开启SSL连接),需要我们主动配置ssl证书信息或者明确指出不适用ssl解决方案:1、明确不使用ssl严重加参数 useSSL=false在获取url最后加上&useSSL=false即可

vue3 vite Uncaught (in promise) ReferenceError: Cannot access ‘xx‘ before initialization

Uncaught(inpromise)ReferenceError:Cannotaccess'BasicForm'beforeinitialization这是组件之间出现循环引用时导致,我们可以通过异步组件:defineAsyncComponent解决,在VUE3的官网:https://cn.vuejs.org/guide/components/async.html#basic-usage。直接引用官网提供的异步组件(defineAsyncComponent),写法多种。以下只是其中一种。如原来的写法:修改后的写法:

c# - 结构构造函数 : "fields must be fully assigned before control is returned to the caller."

这是我正在尝试编写的结构:publicstructAttackTraits{publicAttackTraits(doubleprobability,intdamage,floatdistance){Probability=probability;Distance=distance;Damage=damage;}privatedoubleprobability;publicdoubleProbability{get{returnprobability;}set{if(value>1||value这会导致以下编译错误:The'this'objectcannotbeusedbeforeal