草庐IT

GMS_AVAILABLE_BUT_DEPRECATED

全部标签

Build was configured to prefer settings repositories over project repositories but repository ....问题

关于“Buildwasconfiguredtoprefersettingsrepositoriesoverprojectrepositoriesbutrepository'MavenRepo'wasaddedbybuildfile'app\build.gradle'”问题的解决方案本人的原因:增加kotlin的兼容支持;当然还有其他原因导致,这里不细述;有用解法步骤如下:1,将setting.gradle文件的该配置注释掉://dependencyResolutionManagement{//repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJE

Build was configured to prefer settings repositories over project repositories but repository ....问题

关于“Buildwasconfiguredtoprefersettingsrepositoriesoverprojectrepositoriesbutrepository'MavenRepo'wasaddedbybuildfile'app\build.gradle'”问题的解决方案本人的原因:增加kotlin的兼容支持;当然还有其他原因导致,这里不细述;有用解法步骤如下:1,将setting.gradle文件的该配置注释掉://dependencyResolutionManagement{//repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJE

was loaded over HTTPS, but requested an insecure错误解决

1、问题:今天客服老师在群里反馈一个加密上传图片的组件上传图片失败,问我是不是对图片格式进行了限制。我在控制台打开一下,爆出了这样的一个错误Thepageat'https://oms.luojilab.com/oms-host#/ledgers/user'wasloadedoverHTTPS,butrequestedaninsecureXMLHttpRequestendpoint'http://ddimage.luojilab.com/ddimage/upload/private/create_token'.Thisrequesthasbeenblocked;thecontentmustbes

gateway配置跨域出现响应头重复问题The ‘Access-Control-Allow-Origin‘ header contains multiple values ‘*, *‘, but on

使用gateway配置跨域响应头重复1.问题描述这里的意思是只允许Access-control-allow-origin包含一个值,但这里有多个值2.问题分析查看请求信息可以看到响应标头中确实有多个重复k-v,检查gateway网关配置@ConfigurationpublicclassCorsConfig{@BeanpublicCorsWebFiltercorsFilter(){CorsConfigurationconfig=newCorsConfiguration();config.addAllowedMethod("*");config.addAllowedOrigin("*");conf

Result window is too large, from + size must be less than or equal to: [10000] but was

场景做分页查询,当分页达到一定量的时候,报如下错误:Resultwindowistoolarge,from+sizemustbelessthanorequalto:[10000]butwas[78020].Seethescrollapiforamoreefficientwaytorequestlargedatasets.Thislimitcanbesetbychangingthe[index.max_result_window]indexlevelsetting.原因分析:es对from+size的大小进行限制,必须小于等于10000。解决方案:方案一(有风险)将max_result_wind

Failed to load module script: Expected a JavaScript module script but the server responded with a MI

最近在使用slidev制作在线PPT,但是部署到nginx服务器上后,访问相应的PPT网址,没有现实404却一直不显示PPT的内容。打开控制台,发现错误如下:发现几个需要的js和css文件缺失了(主要是js)打开网络请求,乍一看没问题,但是每一个文件的实际请求一看,发现是发送的目标请求和预期不一样:恍然大悟,遂前往index.html,将每一个本地连接前面都加上ppt/2023前缀:总结遇上错误时Failedtoloadmodulescript:ExpectedaJavaScriptmodulescriptbuttheserverrespondedwithaMIMEtypeof“textml”

解决华为荣耀鸿蒙2.0系统设备未获得Play保护机制认证HarmonyOS安装谷歌服务框架GMS谷歌应用商店Google Play华为P40 Mate40 Mate30 P30

我发现了一个应用这个应用叫做:华谷套件,我使用这个应用解决了烦人的鸿蒙弹非保护play认证通知,支持华为p50,P40,P30,P20,P10,Mate10.Mate20.Mate30,Mate40,荣耀9x以上荣耀50以下系统华谷套件下载地址:https://bishua666.com/huagu21.安装华谷套件,并且执行第10步,如图2.进入第10步骤后,依次执行执行第0~5步,如图3.具体的使用教程,请看图片箭头:必看教程,看一下教程再去操作

UserWarning: __floordiv__is deprecated, and its behavior will change in a future version of pytorch.

报错提示:UserWarning:__floordiv__isdeprecated,anditsbehaviorwillchangeinafutureversionofpytorch.Itcurrentlyroundstoward0(likethe‘trunc’functionNOT‘floor’).Thisresultsinincorrectroundingfornegativevalues.Tokeepthecurrentbehavior,usetorch.div(a,b,rounding_mode=‘trunc’),orforactualfloordivision,usetorch.di

0/5 nodes are available: 5 Insufficient cpu.

1.问题现象2.问题原因是因为集群中的CPU资源不够部署当前pod(nodejs8cpus)导致的。注意这边计算的公式是总CPU-RequestCPU查看每个node的CPU和RequestCPU可以用以下命令[root@master1~]#kubectldescribenodeslave2总CPU已申请CPU本问题中为什么会有78%的CPU已被申请,主要是因为以下几个pod点用的

SpringBoot集成Nacos控制台报:Server check fail, please check server xxx ,port 9848 is available

问题:2023-03-0600:28:13.284ERROR329700---[t.remote.worker]c.a.n.c.remote.client.grpc.GrpcClient:99-Servercheckfail,pleasecheckserver180.76.172.65,port9848isavailable,error={}java.util.concurrent.ExecutionException:com.alibaba.nacos.shaded.io.grpc.StatusRuntimeException:UNAVAILABLE:ioexception atcom.al