草庐IT

system.version

全部标签

【Node Sass version 8.0.0 is incompatible with ^4.0.0.问题解决】

NodeSassversion8.0.0isincompatiblewith^4.0.0.问题解决1问题起源在微信小程序Vue搭建安装依赖后,重新运行项目出现错误:此时无法继续运行项目。观察package.json可以发现版本对应情况:2查询node-sass对应https://www.npmjs.com/package/node-sass3sass、sass-loaderNode16.13.1版本安装先卸载后安装对应版本。npmuninstallnode-sassnpmuninstallsass-loadernpminstallsass@1.26.5--save-devnpminstalls

javax.net.ssl.SSLException: Received fatal alert: protocol_version解决

今天在开发过程中,调用一个https的接口引发错误在Java1.8上,默认TLS协议是v1.2。在Java1.6和1.7上,默认是已废弃的TLS1.0,由于此项目使用的是jdk1.6,因此引发错误。解决方法1:在发起请求前面设置TLSv1.2协议 System.setProperty("https.protocols","TLSv1.2");解决方法2:在发起请求前忽略ssl认证:工具类:importjava.security.cert.CertificateException;importjava.security.cert.X509Certificate;importjavax.net.s

The project is using an incompatible version of the Android Gradle plugin.

积极主动,以终为始Theprojectisusinganincompatibleversion(AGP7.4.1)oftheAndroidGradleplugin.LatestsupportedversionisAGP7.2.0AGP(AndroidGradlePlugin)-AndroidGradle插件在Android开发过程中,可能会遇到上面的这个AndroidGradlePlugin版本不匹配的问题。网上可能告诉你了一些解决方案。但是本着“知其然,还要知其所以然”的求知欲。现在我们来分析一下可能出现此问题的情形:Gradle版本和Gradle插件的版本不一致;AndroidStudio

DELL 电脑重装系统提示 “Operating System Loader signature found in SecureBoot ......” 解决办法亲测有效

DELL电脑重装系统提示“OperatingSystemLoadersignaturefoundinSecureBoot......”如下图所示解决办法按F2进入BIOS设置,找到BootConfiguration在SecureBootMode中把默认的DeployedMode修改为AuditMode即可BIOS版本不通可能选型位置不通有的在SecureBoot–SecureBootMode–AuditMode

unity编辑器报错Microsoft Visual C# Compiler version

Microsoft®VisualC#Compilerversion2.9.1.65535(9d34608e)Copyright©MicrosoftCorporation.unity中设置的api版本问题,修改设置就可以了 

this version of the Java Runtime only recognizes class file versions up to 52.0

踩坑日记博客上很多博主说这个是jdk版本的问题,我所有地方都设置的是jdk1.8,但还是报错Causedby:java.lang.UnsupportedClassVersionError:org/springframework/cloud/bootstrap/RefreshBootstrapRegistryInitializerhasbeencompiledbyamorerecentversionoftheJavaRuntime(classfileversion61.0),thisversionoftheJavaRuntimeonlyrecognizesclassfileversionsupt

Android13 Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE

最近把以前的11的代码移植到13上碰到的问题,记录一下:TargetingS+(version31andabove)requiresthatoneofFLAG_IMMUTABLEorFLAG_MUTABLEbespecifiedwhencreatingaPendingIntent.StronglyconsiderusingFLAG_IMMUTABLE,onlyuseFLAG_MUTABLEifsomefunctionalitydependsonthePendingIntentbeingmutable,e.g.ifitneedstobeusedwithinlinerepliesorbubbles

解决windows系统80端口被system占用问题

80端口被system(pid=4)系统占用的解决方法,80端口一般被当做网页服务器的默认端口,使用本机搭建服务器环境的时候,都会默认使用80端口来作为网页访问端,但是有的时候80端口会被其他的不明身份的程序占用,导致Apache启动失败,修改Apache的默认端口后访问本机地址又非常麻烦。下面介绍一下如果80端口被占用后应该如何处理。使用管理员身份运行cmdnetstophttp //停止系统http服务scconfighttpstart=disabled //禁用服务的自动启动,此处注意等号后面的空格不可少这个时候80端口就会被释放,你可以重启你的应用程序啦网上有说修改注册表。http-s

Android studio报错:Plugin [id: ‘com.android.application‘, version: ‘7.2.0‘

之前我是在笔记本电脑上安装的Androidstudio,是能使用的好好的,但是这次在新台式电脑上安装Androidstudio之后新建project发现报错:Plugin[id:'com.android.application',version:'7.2.0',apply:false]wasnotfoundinanyofthefollowingsources1、试过将Androidstudio文件GradleScript下面的gradle-wrapper.properties下的包下载下来替换到电脑文件C/user/user/.gradle/wrapper/dists/gradle-7.3.3

System.Net.WebException:“请求被中止: 未能创建 SSL/TLS 安全通道。”

一、问题描述当使用HttpWebRequest.GetResponse()方法进行HTTPS请求时,有可能会出现System.Net.WebException:请求被中止:未能创建SSL/TLS安全通道的异常,这通常是因为客户端和服务器之间的TLS版本不兼容造成的。二、解决方案1.指定TLS版本:可以通过在代码中设置ServicePointManager.SecurityProtocol属性来指定使用的TLS版本。例如:ServicePointManager.SecurityProtocol=SecurityProtocolType.Tls12;这里使用TLS1.2版本来进行请求,你可以尝试更