首页 > 其他分享 >项目中没有依赖Kotlin,结果报错Kotlin版本问题

项目中没有依赖Kotlin,结果报错Kotlin版本问题

时间:2023-04-06 17:37:24浏览次数:57  
标签:intellij 项目 Kotlin idea version 报错 版本

 背景:

使用intellij-idea工具,spring boot项目,使用的maven

问题:

项目中没有依赖Kotlin,结果报错Kotlin版本问题,如下

Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.1.15.

解决方案:

Just go to the Build menu and click on the rebuild project.

只需要去Build菜单点击重建项目即可

 

 

 参考文章:

intellij idea - Error:Kotlin: Module was compiled with an incompatible version of Kotlin in a project of Spring Boot with Java not Kotlin not gradle - Stack Overflow

标签:intellij,项目,Kotlin,idea,version,报错,版本
From: https://www.cnblogs.com/qiyanDays/p/17293495.html

相关文章

  • 建模copy时报错[lsFrozen Field is not found in the CDO xxxxChanges] 的解决方法
    报错如图  日志报错如下  根据日志内容查找问题原因:由于SetIsFrozen逻辑导致异常。解决办法:重写Maint的SaveAs方法,去掉SetIsFrozen逻辑。  ......
  • 最新版本 Stable Diffusion 开源 AI 绘画工具之使用篇
    目录......
  • Linux版本
    linux有内核版本,就相当于安卓,有发行版本,相当于MIUI,Flyme,EMUI等Linux内核版本Linux内核版本号有两种第一种:内核主版本号.内核次版本号.内核修订版本号第二种:主版本号.次版本号.补丁包数或次版本的修改次数-编译(或构建)的次数.当前版本的特殊信息.当前版本的特殊信息...........
  • Android Api版本对照表
     Android版本ApiAPIAndroid13.0(T)32Android12.0(S)31Android11.0(R)30Android10.0(Q)29Android9.0(Pie)28Android8.1(Oreo)27Android8.0(Oreo)26Android7.1(Nougat)25Android7.0(Nougat)24Android6.0(Marshmallow)23......
  • PDM——发动机PDM报错“Windchill 只支持标准模式下的 Internet Explorer 浏览器。请
     解决办法:通过IE8访问WindchillPDMLink10.0,出现警告提示"Windchill只支持标准模式下的浏览器".说明:详细警告提示如下注意:检测到不支持的浏览器模式。Windchill只支持标准模式下的InternetExplorer浏览器。请联系系统管理员帮助您设置浏览器。适用于 WindchillPDM......
  • 成功解决requests 报错raise SSLError(e, request=request)_requests.exceptions.SSL
    问题描述在使用requests调用https接口时,会遇到ssl证书报错raiseSSLError(e,request=request)requests.exceptions.SSLError:HTTPSConnectionPool(host='v4.ketangpai.com',port=443):Maxretriesexceededwithurl:/UserApi/login(CausedbySSLError(SSLCertVerificat......
  • bootstrap5 .jqurey报错Cannot read properties of null (reading 'show')
    //toenabletooltipswiththedefaultconfiguration$('[data-bs-toggle="tooltip"]').tooltip()//toinitializetooltipswithgivenconfiguration$('[data-bs-toggle="tooltip"]').tooltip({boundary:'clipping......
  • redis集群,模块启动报错:PoolException: Returned connection io.lettuce.core.cluster.
    redis3主3从的配置启动正常,客户端命令使用正常,突然今天开发测试环境有些模块报错了:org.springframework.data.redis.connection.PoolException:Returnedconnectionio.lettuce.core.cluster.StatefulRedisClusterConnectionImpl@49bd0985waseitherpreviouslyreturnedor......
  • 内网穿透神器NeutrinoProxy 1.8.0版本发布
    项目简介中微子代理(neutrino-proxy)是一款基于netty的内网穿透神器。该项目采用最为宽松的MIT协议,因此您可以对它进行复制、修改、传播并用于任何个人或商业行为。Gitee地址:https://gitee.com/dromara/neutrino-proxy官网地址:http://neutrino-proxy.dromara.org服务端管理......
  • 修复typecho字体资源跨域加载报错(基于IIS)
    在前面的文章中介绍了如何在IIS中配置typecho站点。一切使用都比较顺利,最近发现如果我不是直接输入网址进入,而是通过其它方式进入时,字体资源就会找不到。 像下面这样  查了一下,反正是跨域相关的问题,在IIS中解决方法如下:         ......