久久久久久久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 | 国产精品爱久久久久久久 | 亚洲欧美一区二区在线观看 | 一区二区三区日 | 欧美jizzhd精品欧美巨大免费 | 久久aⅴ乱码一区二区三区 91综合网 | 黄网站涩免费蜜桃网站 | 欧美日韩一区二区在线观看 | 一区二区三区四区免费观看 | 精品国产青草久久久久96 | 精品无码久久久久国产 | 欧美成人精品一区二区三区 | 国产精品性做久久久久久 | 特黄一级| 黑人中文字幕一区二区三区 | 国产一区二区不卡 | 精品日韩一区二区 | 操操操av | 91精品国产高清一区二区三区 | 免费在线国产视频 | 亚洲一区精品在线 | www.中文字幕av| 天天操天天射综合 | 欧美一级艳情片免费观看 | 成人免费毛片片v | 视频在线一区二区 | 懂色av色香蕉一区二区蜜桃 | 狼色网 | 欧美激情在线观看一区二区三区 | 亚洲午夜av久久乱码 | 国产精品视频入口 | 久久久网 | 日韩视频中文字幕 | 欧美日韩一区二区在线观看 | 欧美成人一区二区三区 | 91久久精品一区二区二区 | www久久爱| 国产精品视频一区二区三区四蜜臂 | 日韩三级免费观看 | 黄色片在线观看网址 | 秋霞av国产精品一区 |