使用 NetBeans 运行和调试 DBeaver

发布于 2025-01-09 12:25:50 字数 604 浏览 2 评论 0原文

上下文:我正在使用 DBeaver 访问和查看 MariaDB 数据库。现在我在通过 SSH 隧道访问远程数据库时遇到问题。我无法连接,尽管应该连接。

我想在 NetBeans 中运行和调试 DBeaver。但由于我对 Java 的经验很少,对 Maven 的经验也很少,所以我不知道该怎么做。

我已克隆 DBeaver 的 Git 存储库并在 NetBeans 中打开。现在我看到这个项目结构:

在此处输入图像描述

如何在调试模式下运行应用程序?

更新: 我已经右键单击该项目并选择“清理并构建”,最终以“构建成功”结束。但项目上下文菜单中的菜单项“运行”仍然被禁用。

Context: I am using DBeaver to access and view MariaDB databases. Now I have an issue with accessing a remote database via SSH tunnel. I cannot connect although it should.

I want to run and debug DBeaver in NetBeans. But as I have very few experience with Java and none with Maven I am not sure how to do that.

I have cloned the Git repository of DBeaver and opened in NetBeans. Now I see this project structure:

enter image description here

How can I run the application in debug mode?

Update:
I have already right clicked on the project and selected "Clean and Build", which ended with "Build Success". But the menu entry "Run" in the context menu of the project is still disabled.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

懒猫 2025-01-16 12:25:50

由于 DBeaver 是一个 Eclipse RCP 应用程序,因此 RCP 和 RAP 开发人员需要使用 Eclipse IDE。请参阅 https://github.com/dbeaver/dbeaver/wiki/Develop-in -Eclipse

您还可以使用 IntelliJ IDEA (https://github.com/dbeaver/dbeaver /wiki/Develop-in-IDEA),但这需要首先在 Eclipse 中构建 DBeaver。

Since DBeaver is an Eclipse RCP application, you need to use Eclipse IDE for RCP and RAP developers. See https://github.com/dbeaver/dbeaver/wiki/Develop-in-Eclipse.

You can also use IntelliJ IDEA (https://github.com/dbeaver/dbeaver/wiki/Develop-in-IDEA), but that requires building DBeaver in Eclipse first.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文