IntelliJ IDEA“无法解析符号"和“无法解决方法"; [英] IntelliJ IDEA "cannot resolve symbol" and "cannot resolve method"

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

问题描述

什么是导致IntelliJ IDEA无法解析内置JVM类型和方法的常见原因?例如,当我将鼠标悬停在String上时,工具提示会显示无法解析符号'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.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆