久久久久久久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 目錄)
主站蜘蛛池模板: 国产一区久久 | 一区欧美 | 精品国产乱码久久久久久蜜柚 | 欧美精品免费观看二区 | 久久久久免费精品国产 | 国产精品区二区三区日本 | 2021天天躁夜夜看 | 天天草天天干天天 | 日本淫视频| 亚洲精品一区二区在线观看 | 日本午夜网 | 亚洲精品丝袜日韩 | 日本久久网| 在线观看国产视频 | 午夜一区二区三区 | 男女午夜免费视频 | 成人精品一区 | 狠狠的日 | 奇米视频777| 亚洲国产激情 | 婷婷久久综合 | 一级h片| 欧美综合国产精品久久丁香 | 黄色香蕉视频在线观看 | 在线观看精品 | 日韩在线中文字幕 | 亚洲国产高清高潮精品美女 | 一本岛道一二三不卡区 | 在线色网 | 成人午夜精品 | 国产一级淫片免费视频 | 亚洲一区中文字幕 | 亚洲一区二区在线电影 | 精品国产青草久久久久96 | 全免费a级毛片免费看视频免费下 | 国产精品18hdxxxⅹ在线 | 国产精品一区在线 | 成人精品一区二区三区中文字幕 | 日韩在线成人 | 精品日韩在线 | 丝袜 亚洲 另类 欧美 综合 |