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

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

问题描述

我刚刚安装了Netbeans IDE。我现在无法导入任何org。* libs,它只是说包org不存在
另外,我将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:\Users\username\AppData\Local\NetBeans\...

在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错误:包org不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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