草庐IT

trunk_Onecloud_bookworm_current

全部标签

ES报错处理-mapper [xx.xx] of different type, current_type [text], merged_type [keyword]

背景我司有一套开源使用规范,衰退期的软件或版本需要升级到GA版本。我们ES服务端是6.8.x的,根据ES官方推荐版本,springdataelasticsearch使用的是3.2.x,配套的springboot版本为2.2.x.我们当前使用的版本已经比较老了,我们需要将springboot升级到2.6.x,并将springdataelasticsearch升级到4.3.x。因为高版本springdataelasticsearch的API有较大的改动,我们代码中用到API已经被删掉了,整改工作量非常大,因此决定先升级springboot到2.6.x,springdataelasticsearch

ES报错处理-mapper [xx.xx] of different type, current_type [text], merged_type [keyword]

背景我司有一套开源使用规范,衰退期的软件或版本需要升级到GA版本。我们ES服务端是6.8.x的,根据ES官方推荐版本,springdataelasticsearch使用的是3.2.x,配套的springboot版本为2.2.x.我们当前使用的版本已经比较老了,我们需要将springboot升级到2.6.x,并将springdataelasticsearch升级到4.3.x。因为高版本springdataelasticsearch的API有较大的改动,我们代码中用到API已经被删掉了,整改工作量非常大,因此决定先升级springboot到2.6.x,springdataelasticsearch

彻底解决Android Studio Minimum supported Gradle version is X.Y.Z. Current version is x.y.z.问题

文章目录1.Gradle插件版本2.Gradle版本3.Gradle与GradlePlugin兼容搭配4.我哪里寻找`Gradle`版本和`Gradleplugin`版本5.总结  由于AndroidStudio是基于Gradle编译的,面对众多的Gradle版本,类似于Android碎片化的概念,在编译项目上或多或少会存在兼容性问题。如题,MinimumsupportedGradleversionis6.1.1.Currentversionis5.6.4...,MinimumsupportedGradleversionis6.7.1.Currentversionis5.6.Ifusingth

彻底解决Android Studio Minimum supported Gradle version is X.Y.Z. Current version is x.y.z.问题

文章目录1.Gradle插件版本2.Gradle版本3.Gradle与GradlePlugin兼容搭配4.我哪里寻找`Gradle`版本和`Gradleplugin`版本5.总结  由于AndroidStudio是基于Gradle编译的,面对众多的Gradle版本,类似于Android碎片化的概念,在编译项目上或多或少会存在兼容性问题。如题,MinimumsupportedGradleversionis6.1.1.Currentversionis5.6.4...,MinimumsupportedGradleversionis6.7.1.Currentversionis5.6.Ifusingth

hint: Updates were rejected because the tip of your current branch is behind(git push线上与本地版本冲突问题)

Git本地代码推送到线上出现的问题错误信息为:error:failedtopushsomerefsto'http://**:**/**/**.git'hint:UpdateswererejectedbecausethetipofyourcurrentbranchisbehindTohttp://**:**/**/**.git! refs/heads/master:refs/heads/master [rejected](non-fast-forward)Donehint:itsremotecounterpart.Integratetheremotechanges(e.g.hint:'gitpu

hint: Updates were rejected because the tip of your current branch is behind(git push线上与本地版本冲突问题)

Git本地代码推送到线上出现的问题错误信息为:error:failedtopushsomerefsto'http://**:**/**/**.git'hint:UpdateswererejectedbecausethetipofyourcurrentbranchisbehindTohttp://**:**/**/**.git! refs/heads/master:refs/heads/master [rejected](non-fast-forward)Donehint:itsremotecounterpart.Integratetheremotechanges(e.g.hint:'gitpu

docker容器内安装gcc(trunk 最新版本)以及LLVM

1、docker内部只有wget以及git命令项目需要,得更新docker容器中的gcc和LLVM版本但是由于没有预先安装apt、apt-get以及yum,导致很多安装过程就是鸡生蛋蛋生鸡反应。暂时没有找到合适的解决的方法,如果有大佬知道的话,欢迎留言哈(跪谢😉)目前的解决方案就是绕过常规的shell脚本或者apt命令,直接从github上拉去源码进行本地的编译安装。环境:Win11-WLS2-Ubuntu20.04Docker2、安装gcc(trunk)版本首先在github上克隆下gcc的项目:gitclonehttps://github.com/gcc-mirror/gcc.git接着,

docker容器内安装gcc(trunk 最新版本)以及LLVM

1、docker内部只有wget以及git命令项目需要,得更新docker容器中的gcc和LLVM版本但是由于没有预先安装apt、apt-get以及yum,导致很多安装过程就是鸡生蛋蛋生鸡反应。暂时没有找到合适的解决的方法,如果有大佬知道的话,欢迎留言哈(跪谢😉)目前的解决方案就是绕过常规的shell脚本或者apt命令,直接从github上拉去源码进行本地的编译安装。环境:Win11-WLS2-Ubuntu20.04Docker2、安装gcc(trunk)版本首先在github上克隆下gcc的项目:gitclonehttps://github.com/gcc-mirror/gcc.git接着,

It is currently in use by another Gradle instance

FAILURE:Buildfailedwithanexception.*Whatwentwrong:CouldnotcreateserviceoftypeTaskHistoryRepositoryusingTaskExecutionServices.createTaskHistoryRepository().>Timeoutwaitingtolocktaskhistorycache(/Volumes/MacUser/macbook/lab/aws/training/gradle_student_mgmt/.gradle/4.5.1/taskHistory).Itiscurrentlyinuse

It is currently in use by another Gradle instance

FAILURE:Buildfailedwithanexception.*Whatwentwrong:CouldnotcreateserviceoftypeTaskHistoryRepositoryusingTaskExecutionServices.createTaskHistoryRepository().>Timeoutwaitingtolocktaskhistorycache(/Volumes/MacUser/macbook/lab/aws/training/gradle_student_mgmt/.gradle/4.5.1/taskHistory).Itiscurrentlyinuse