草庐IT

was_deleted

全部标签

idea build 出现 ErrorKotlin:Module was compiledwith an incompatible versionof Kotlin.Thebinary version...

这个错误的意思是你正在使用的Kotlin版本和编译模块时使用的Kotlin版本不兼容。错误信息提示你使用的Kotlin版本是1.7.1,但是期望的版本是1.1.16。要解决这个问题,你需要检查你的项目中使用的Kotlin版本是否与编译模块时使用的版本相同。如果不同,请将Kotlin版本设置为与编译模块时使用的版本相同,然后再次进行构建。如果你无法解决这个问题,你可以尝试清除项目的缓存并重新构建。你也可以尝试在命令行中使用./gradlewclean命令来清除缓存,然后再次进行构建。

Push rejected: Push master to origin/master was rejected by remote

这问题折腾我一下午,头皮发麻,记录一下 push时总是出现Pushrejected:Pushmastertoorigin/masterwasrejectedbyremote这个问题,按网上说的改权限也不行,改分支也不行,后来查着查着发现了一个很神奇的玩意儿 根据这篇文章https://www.cnblogs.com/bznxn77/p/14959663.html 把这玩意关了就解决了。真糟心。。。。

Xcode 6.1 : file was built for x86_64 which is not the architecture being linked (i386)

我已经为util/extensions创建了一个Swift框架项目,它编译一个.framework文件并将其复制到我系统上的一个专用位置。我希望能够将此文件包含到其他项目中(BuildPhases/LinkBinarywithLibraries)。框架项目是CocoaTouchFramework类型的项目(从Xcode6.1项目模板浏览器中选择)。但是当我尝试编译一个链接框架文件的项目时,我收到了这个警告:ld:warning:ignoringfile/Users/name/Projects/Xcode/Libs/swiftutils.framework/swiftutils,file

Xcode 6.1 : file was built for x86_64 which is not the architecture being linked (i386)

我已经为util/extensions创建了一个Swift框架项目,它编译一个.framework文件并将其复制到我系统上的一个专用位置。我希望能够将此文件包含到其他项目中(BuildPhases/LinkBinarywithLibraries)。框架项目是CocoaTouchFramework类型的项目(从Xcode6.1项目模板浏览器中选择)。但是当我尝试编译一个链接框架文件的项目时,我收到了这个警告:ld:warning:ignoringfile/Users/name/Projects/Xcode/Libs/swiftutils.framework/swiftutils,file

安装库时报错:RuntimeError: The detected CUDA version (11.7) mismatches the version that was used to...

 Ubuntu22.04系统在安装pytorch3d库时出现了报错信息:RuntimeError:ThedetectedCUDAversion(11.7)mismatchestheversionthatwasusedtocompilePyTorch(10.2).PleasemakesuretousethesameCUDAversions.在终端查看显卡信息(指令nvidia-smi):查看CUDA版本,此处是11.7 根据报错信息,我现在的虚拟环境下的CUDA版本(11.7)和当前的pytorch版本不匹配。在终端查看当前虚拟环境下的pytorch版本(指令condalist),发现pytor

git报错fatal: unable to access ‘https://github.com/‘: OpenSSL SSL_read: Connection was reset

bug描述fatal:unabletoaccess‘https://github.com/…’:OpenSSLSSL_read:Connectionwasreset,errno10054bug产生原因产生原因:一般是这是因为服务器的SSL证书没有经过第三方机构的签署,所以才报错bug解决方法参考网上解决办法:解除ssl验证后,再次git即可在终端窗口输入:gitconfig--globalhttp.sslVerifyfalse

解决WARNING: There was an error checking the latest version of pip.

在安装包是出现上图的警告。报错内容翻译:警告:检查最新版本的pip时出错。报错原因报错原因:需要升级pip版本才可以安装其他模块。解决方法:升级pippipinstall--upgradepip

c# - 错误 : Index was outside the bounds of the array.

这个问题在这里已经有了答案:WhatisanIndexOutOfRangeException/ArgumentOutOfRangeExceptionandhowdoIfixit?(5个答案)关闭3年前。我知道问题在说明什么,但我对我的程序如何输出数组外的值感到困惑。我有一个0-8整数数组,这意味着它可以容纳9个整数,对吗?我有一个int被检查以确保用户输入值是1-9。我从整数中删除一个(像这样)if(posStatus[intUsersInput-1]==0)//ifposisempty{posStatus[intUsersInput-1]+=1;}//setitto1然后我自己输入9

c# - 错误 : Index was outside the bounds of the array.

这个问题在这里已经有了答案:WhatisanIndexOutOfRangeException/ArgumentOutOfRangeExceptionandhowdoIfixit?(5个答案)关闭3年前。我知道问题在说明什么,但我对我的程序如何输出数组外的值感到困惑。我有一个0-8整数数组,这意味着它可以容纳9个整数,对吗?我有一个int被检查以确保用户输入值是1-9。我从整数中删除一个(像这样)if(posStatus[intUsersInput-1]==0)//ifposisempty{posStatus[intUsersInput-1]+=1;}//setitto1然后我自己输入9

c# - 尝试使用 WebAPI 时获取 "No type was found that matches the controller named ' SampleSlashBaseService'"

我有一个带有名为SlashBaseService的基本ApiController的webapi项目:[RouteArea("uBase")]publicabstractclassSlashBaseService:ApiController{}生成的dll用于WebForms项目,因此我还有一个WebActivator类,其中包含以下代码来生成路由:RouteTable.Routes.MapHttpAttributeRoutes(config=>{//GetallservicesinheritingfromSlashBaseServiceforeach(varassemblyinAppD