本文介绍了IntellJ IDEA“无法解析符号”和“无法解决方法”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IntelliJ IDEA无法解析内置JVM类型和方法的常见原因是什么?例如,当我将鼠标悬停在 String 上时,工具提示会显示无法解析符号'字符串'。这就好像IntelliJ不知道JVM在哪里。

What are common causes for IntelliJ IDEA not being able to resolve built-in JVM types and methods? For example, when I mouse over String the tooltip says "Cannot resolve symbol 'String'". It's as if IntelliJ has doesn't know where the JVM is.

顺便说一下,我正在运行OS X 10.6.6。一切正常,直到我今天早上运行系统更新。

By the way, I am running OS X 10.6.6. Everything was working fine until I ran the system update this morning.

推荐答案

很可能JDK配置无效,尝试删除和我再次添加JDK,因为我已经这里。

Most likely JDK configuration is not valid, try to remove and add the JDK again as I've described in the related question here.

这篇关于IntellJ IDEA“无法解析符号”和“无法解决方法”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 07:12