久久久久久久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 目錄)
主站蜘蛛池模板: 日韩高清不卡 | 精品国产免费人成在线观看 | 在线观看免费高清av | 精品1区2区 | 91一区二区三区 | 男女视频在线看 | 99久久国产精 | 久久久www | 精品美女久久久 | 欧美不卡网站 | 日本涩涩网 | 亚洲人成免费 | 久久国产精品一区二区三区 | 久久伊| 国产乱码久久久久久 | 婷婷综合 | 久久精品欧美一区二区三区不卡 | 福利视频一区二区 | 日本在线网站 | 男人的天堂久久 | 99九九视频 | 青青久久 | 中文字幕的av | 欧美国产中文 | 欧美亚洲国产日韩 | 最新超碰| 日韩精品久久一区二区三区 | 在线2区 | 黄色一级片aaa | 人干人人 | 成人h视频在线 | 精品国产免费人成在线观看 | 色狠狠桃花综合 | 在线成人av | 国产一级在线 | 久久免费精品视频 | 欧美成人免费在线 | 欧美一级电影免费 | av中文字幕网站 | 青青草精品 | 欧美在线一区二区三区 |