intellij 使用 lambda 表達(dá)式報(bào)錯(cuò)解決

一、intellij 出現(xiàn)“Usage of API documented as @since 1.6+”的解決辦法

Usage of API documented as @since 1.6+ This inspection finds all usages of methods that have @since tag in their documentation. This may be useful when development is performed under newer SDK version as the target platform for production

解決辦法:

File ->Project Structure->Project Settings -> Modules -> 你的Module名字 -> Sources -> Language Level->選個(gè)默認(rèn)的就行。

二、IDEA Error:java: Compilation failed: internal java compiler error

解決辦法:

File-->Setting...-->Build,Execution,Deployment-->Compiler-->Java Compiler 設(shè)置相應(yīng)Module的target bytecode version的合適版本(跟你jkd版本一致),這里我改成1.8版本的。

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • mean to add the formatted="false" attribute?.[ 46% 47325/...
    ProZoom閱讀 3,191評(píng)論 0 3
  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,847評(píng)論 0 10
  • 3010字,建議閱讀6分鐘。你可以收獲的知識(shí)要點(diǎn)如下: “復(fù)利”是最好的選擇所具有的共性; 復(fù)利公式:S=P(1+...
    41aa8c261c93閱讀 431評(píng)論 0 2
  • 昨天我說(shuō)我才背會(huì)了一段,還說(shuō)我今天背完第二段就可以了,結(jié)果我就在我昨天晚上我就將這首出自于秦風(fēng)之蒹葭背...
    帥在閱讀 272評(píng)論 0 1
  • 畫(huà)了bling bling的裸熊~閃光的地方是用過(guò)期很久不用的眼影涂的,竟然有奇效,哈哈哈~
    庭生閱讀 264評(píng)論 0 0

友情鏈接更多精彩內(nèi)容