国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

解決Error:Kotlin報錯The binary version of its metadata is 1.5.1, expected version is 1.1.16問題

這篇具有很好參考價值的文章主要介紹了解決Error:Kotlin報錯The binary version of its metadata is 1.5.1, expected version is 1.1.16問題。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

注意環(huán)境:(不同的環(huán)境效果可能不同,請看本文的評論區(qū))下面截圖是本文idea的版本,Java開發(fā)遇到的特殊問題,如果是Android開發(fā)就要注意了,請看本文的評論區(qū),小心踩雷。

解決Error:Kotlin報錯The binary version of its metadata is 1.5.1, expected version is 1.1.16問題,15idea,kotlin,idea,Error,version,metadata

idea 2020.2.3

問題描述:

idea以springboot方式啟動微服務應用,但是編譯過程中idea報錯:

Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.

但是maven編譯不報錯誤正常編譯了,說明問題不是包的引用,應該是idea本身的問題。

經(jīng)過網(wǎng)上查找資料,是konlin插件出了問題。

感謝:wyn_做自己

http://events.jianshu.io/p/8e8d0d1fe83a

經(jīng)過實際操作,確實有效。

首先,禁用idea的Kotlin插件,重新啟動idea。

解決Error:Kotlin報錯The binary version of its metadata is 1.5.1, expected version is 1.1.16問題,15idea,kotlin,idea,Error,version,metadata

再次運行該應用模塊,就沒有問題了。

總結(jié):

出現(xiàn)了問題,還是要仔細觀察問題現(xiàn)象,分析重點的提示信息,就能容易解決問題,本次問題的關(guān)鍵信息是“Error:Kotlin: ”,因為這不是包依賴版本不對的提示信息,是Kotlin執(zhí)行過程中出現(xiàn)了問題,誰再調(diào)用它,應該是idea在調(diào)用它,idea通過什么方式來調(diào)用它的,那就是通過插件方式來調(diào)用它,那就是插件本身有問題了。

這個思路就對了。文章來源地址http://www.zghlxwxcb.cn/news/detail-519711.html

到了這里,關(guān)于解決Error:Kotlin報錯The binary version of its metadata is 1.5.1, expected version is 1.1.16問題的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權(quán),不承擔相關(guān)法律責任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務器費用

相關(guān)文章

  • 解決Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version ...

    解決Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version ...

    ? 百度出來基本上都是說要升級Kotlin插件版本(結(jié)尾有彩蛋) 需要關(guān)注才能看的帖子,比較詳細,但是對我無效 解決Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of .._念兮為美的博客-CSDN博客 網(wǎng)上方法一大堆,我也試錯了許多,這里就不一 一展示了

    2024年02月07日
    瀏覽(18)
  • Android 打包出現(xiàn)The binary version of its metadata is 1.6.0, expected version is 1.4.0(*.*.*)

    Android 打包出現(xiàn)The binary version of its metadata is 1.6.0, expected version is 1.4.0(*.*.*)

    你的gradle插件使用的是1.6.0,但是你引入的第三庫使用的低版本。 解決辦法有3種。個人建議使用第三種 1、降低 gradle版本,4.0.1版本使用的是1.4.0 2、忽略檢查后打包會明顯加快。但是你懂的。 3、統(tǒng)一使用指定版本。這樣就統(tǒng)一使用指定版本了 配置如下:? 備注:使用了第三庫

    2024年02月11日
    瀏覽(14)
  • 打包過程遇到的問題:The binary version of its metadata is 1.6.0, expected version is 1.4.0

    Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. 你的gradle插件使用的是1.6.0,但是你引入的第三庫使用的低版本。 方案一: 降低 gradle版本,4.0.1版本使用的是1.4.0 方案二: 忽略檢查后打包會明顯加快 方案三: (這是比較推

    2024年02月03日
    瀏覽(15)
  • Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of

    Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of

    問題原因 idea 中的 kotlin 插件版本比 pom 中的低,導致無法啟動 解決方式 把項目 pom 中的版本降低 或 升級下idea插件的版本 實際解決 pom 中的一般我們沒有辦法輕易改動,這里選擇升級idea 中的插件,共兩種方式 第一種(推薦) : 通過左上角菜單進入 settings 或者 直接快捷鍵

    2024年02月07日
    瀏覽(22)
  • 【錯誤記錄】Android Studio 編譯報錯 ( Module was compiled with an incompatible version of Kotlin. The binary )

    【錯誤記錄】Android Studio 編譯報錯 ( Module was compiled with an incompatible version of Kotlin. The binary )

    Android Studio 工程在編譯時 , 報如下錯誤 : 直接把報錯信息翻譯一下 : 報錯的模塊是 e: C:/Users/octop/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.7.10/bac80c520d0a9e3f3673bc2658c6ed02ef45a76a/kotlin-stdlib-common-1.7.10.jar!/META-INF/kotlin-stdlib-common.kotlin_module 模塊 , 就是 kotlin-stdlib-c

    2024年01月20日
    瀏覽(21)
  • 【已解決】WARNING: There was an error checking the latest version of pip.報錯問題

    【已解決】WARNING: There was an error checking the latest version of pip.報錯問題

    今天在用python的時候出現(xiàn)了WARNING: There was an error checking the latest version of pip.問題。 顧名思義:警告:檢查最新版本的pip時出錯。 那么很明顯問題是沒有用最新版本的pip。那找到問題的話就直接上解決方法吧。 更新pip包即可,正常更新就行。然后就能安裝了。 1、執(zhí)行命令前

    2024年02月09日
    瀏覽(27)
  • WARNING: There was an error checking the latest version of pip.報錯及解決方法

    WARNING: There was an error checking the latest version of pip.報錯及解決方法

    警告:檢查最新版本的pip時出錯。 ? 需要升級pip版本才可以安裝其他模塊,我們只需要升級pip 在命令操作窗口輸入python -m pip install --upgrade pip Successfully uninstalled pip-19.1.1(成功卸載舊版本:22.3.1) Successfully installed pip-20.0.2(成功安裝新版本:23.0.1) ? 在命令操作窗口輸入

    2024年02月05日
    瀏覽(28)
  • Idea編譯項目報錯Error:Kotlin: Module was compiled with an incompatible version of Kotlin.

    Idea編譯項目報錯Error:Kotlin: Module was compiled with an incompatible version of Kotlin.

    error:Kotlin:module was compiled with an incompatible version of kotlin the binary version of its metadata is 提示jar包版本沖突 方案1)升級kotlin插件(不建議) 方案2) compile項目 方案3)Rebuild Project 第一種升級了插件,沒有解決,有可能是自己idea版本太低,我目前idea版本是2019.2.2 第二種方案:剛開

    2024年02月11日
    瀏覽(26)
  • 解決Correct the classpath of your application so that it contains compatible versions

    解決Correct the classpath of your application so that it contains compatible versions

    springboot啟動失敗 報錯Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.web.servlet.handler.AbstractHandlerMethodMapping and org.springframework.web.method.HandlerMethod 排查發(fā)現(xiàn):pom依賴同時引用了兩個不同版本的web包。 刪掉一個web依賴重新構(gòu)建以后問題直

    2024年02月09日
    瀏覽(121)
  • 解決WARNING: There was an error checking the latest version of pip.

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

    在安裝包是出現(xiàn)上圖的警告。 報錯內(nèi)容翻譯: 警告:檢查最新版本的pip時出錯。 報錯原因 報錯原因:需要升級pip版本才可以安裝其他模塊。 解決方法:升級pip

    2024年02月12日
    瀏覽(23)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包