NetBeans 错误:包组织不存在 [英] NetBeans error: package org does not exist

查看:48
本文介绍了NetBeans 错误:包组织不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 Netbeans IDE.我现在无法导入任何 org.* libs,它只是说 package org does not exist.此外,我将 jdic.jar 导入到项目中,即使代码完成建议显示为 org.jdesktop.*,它也显示相同的错误.

I just installed Netbeans IDE. I am now unable to import any org.* libs and it just says package org does not exist. Also, I imported jdic.jar into the project and even though the code completion suggestions show up as org.jdesktop.*, it shows the same error.

我该如何解决这个问题?

How do I fix this?

推荐答案

清除缓存修复了它.在 Windows 7 中,缓存位于

Clearing the cache fixed it. In windows 7 the cache is located in

C:UsersusernameAppDataLocalNetBeans...

在 Linux 上,缓存位于:

On Linux, the cache is at:

/home/username/.cache/netbeans/...

在清除缓存并重新启动 netbeans 后,它再次开始识别 org.* 导入.

On clearing the cache, and restarting netbeans, it started to recognize org.* imports again.

这篇关于NetBeans 错误:包组织不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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