久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

IntelliJ IDEA:“無法解析符號";用于 String、S

IntelliJ IDEA: quot;cannot resolve symbolquot; for String, System and other Java classes(IntelliJ IDEA:“無法解析符號;用于 String、System 和其他 Java 類)
本文介紹了IntelliJ IDEA:“無法解析符號";用于 String、System 和其他 Java 類的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我最近將 IntelliJ IDEA 下載到了另一臺計算機上.在一臺計算機上,它在另一臺計算機上運行良好,它給了我這個當前的問題.

I recently downloaded IntelliJ IDEA to a different computer. On one computer it works fine on the other computer it is giving me this current issue.

當我使用模板打開一個新項目時,它會自動在各處顯示錯誤,即使它允許代碼運行并正確顯示輸出:標準 Java 庫類,如 StringSystem 以紅色突出顯示,錯誤工具提示顯示:無法解析符號".

When i open a new project with a template it automatically shows errors everywhere even though it allows the code to run and shows the output correctly: standard Java library classes like String and System are highlighted in red and the error tooltip says: "cannot resolve symbol".

我嘗試過使緩存無效/重新啟動",但沒有幫助.

I have tried "Invalidate caches/Restart", but it didn't help.

推薦答案

檢查項目結構中的JDK配置Classpath選項卡|SDK:

Check the JDK configuration Classpath tab in Project Structure | SDKs:

同時檢查 項目 和 模塊 使用相同的 JDK.

Also check that project and modules use the same JDK.

如果為空,請刪除 JDK 并重新添加.不建議使用 JetBrains Runtime 作為 JDK,下載并配置一些不同的獨立 JDK,2020.1 版本 可以為你下載 JDK.

If it's empty, remove the JDK and add it again. It's not recommended to use JetBrains Runtime as your JDK, download and configure some different standalone JDK instead, 2020.1 version can download JDK for you.

重要通知捆綁的 JRE 用于運行 IDE 本身,這對于開發 Java 應用程序是不夠的.在你面前開始使用 Java 進行開發,下載并安裝獨立的 JDK 版本.

Important notice The bundled JRE is used for running the IDE itself, and it's not sufficient for developing Java applications. Before you start developing in Java, download and install a standalone JDK build.

這篇關于IntelliJ IDEA:“無法解析符號";用于 String、System 和其他 Java 類的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Why would you choose Android API over Google APIs in the SDK on Eclipse?(為什么在 Eclipse 的 SDK 中選擇 Android API 而不是 Google API?)
Couchbase Bucket authentication error(Couchbase 存儲桶身份驗證錯誤)
admob 6.2.1 nullpointer exception(admob 6.2.1 空指針異常)
How to setup SDK in IntelliJ IDEA?(如何在 IntelliJ IDEA 中設置 SDK?)
My phone cannot be detected in eclipse to test run(eclipse 無法檢測到我的手機進行試運行)
platform-toolsaapt.exe directory missing in android SDK(android SDK 中缺少 platform-toolsaapt.exe 目錄)
主站蜘蛛池模板: 日韩一区二区在线播放 | 午夜视频免费 | 日韩精品一区在线 | 中国极品少妇xxxx做受 | 免费的黄色网 | 成人免费看片视频 | 日韩在线观看中文字幕 | 免费的一级片 | 四虎在线视频 | 免费性视频 | 免费黄色大片 | 国产福利视频 | 欧美在线观看一区二区 | 精品欧美一区二区三区久久久 | www.伊人网| 国产日韩精品在线 | 欧美性生交xxxxx | 毛片精品 | 午夜你懂的 | 日韩欧美亚洲国产 | 中文字幕有码在线 | 国产女人水真多18毛片18精品 | 高潮毛片又色又爽免费 | a毛片在线观看 | 久久久久久国产 | 自拍视频一区 | 亚洲h视频| 精品福利在线 | 亚洲91av| 婷婷综合久久 | 欧美三级在线视频 | 高清乱码男女免费观看 | 日韩在线综合 | 欧美激情视频一区 | 久久午夜精品 | 日本成人精品 | 亚洲免费看片 | 日韩伦理一区 | 国产精品123区 | 色精品 | 亚洲精品成人网 |