Intellij开始以奇怪的方式显示文件?

huangapple 未分类评论45阅读模式
英文:

Intellij started displaying files in a weird way?

问题

我的Intellij突然开始以不正确的方式显示我的类,原因不明。几个小时前它还正常工作,突然间不再工作了。即使我导入了Spigot,我的所有Bukkit方法都会引发错误,自动完成功能也无法正常工作。感谢任何帮助。

Intellij开始以奇怪的方式显示文件?

英文:

My Intellij has randomly started to just not display my classes in the correct way for some reason. It was working perfectly fine just a few hours ago, and all of the sudden it doesn't work anymore. All of my Bukkit methods are throwing errors even when I import spigot, and the autocomplete feature isn't working properly. Any help is appreciated.

Intellij开始以奇怪的方式显示文件?

答案1

得分: 0

这是由于未满足的依赖关系/无法解析您正在调用的方法所致。

检查您的导入、依赖关系、已安装的JDK、IntelliJ使用的JDK,并检查您的依赖项的版本。

如果所有方法都失败了,您可以创建一个新项目,并将源文件移动到新项目中。这将作为一种彻底重置的方式。(有点像最后的手段,但...是的)

英文:

This is due to unmet dependencies/inability to resolve the methods you are calling.

Check your imports, dependencies, installed JDKs, jkd used by intellij, and check your dependencies' versions.

If all fails, you can create a new project and move the source files to the new project. That will act as a hard reset of everything. (kinda of a last resort but...yeah)

huangapple
  • 本文由 发表于 2020年4月9日 07:47:47
  • 转载请务必保留本文链接:https://java.coder-hub.com/61111803.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定