Netbeans 12.x,13和数据源问题

发布于 2025-01-18 04:14:53 字数 708 浏览 1 评论 0原文

NetBeans 12.x和13个Windows,来自数据库向导的实体类。有时,向导停止工作,我无法使用已配置的数据气或数据气体选择框连接到数据库。加载一个不同的项目再次工作,但是一旦在某个项目上破裂,就很难恢复它。在过去的事件中,我解决了最新版本的Netbeans,但这一次不是一个选择,我最新。

有些数据已损坏,但我不知道如何清洁并重新开始。在Windows Netbean上,将其数据存储在文件夹 appdata/local appdata/roaming 中,但我认为损坏的数据不存在,它与项目有关。在项目文件夹中,我找不到有关其使用的数据源的任何信息。

我想念什么吗?

我应该尝试在 appdata/local appdata/roaming 中删除NetBeans文件夹吗?

更新1

今天是我的幸运日,巫师突然开始工作,因此没有机会获得IDE日志。我记得一个无效的指针异常启动了巫师,但堆栈痕迹没有。该项目是连接到MySQL DB的Web应用程序。我敢肯定,我尝试同时重新启动NetBeans和计算机重新启动以还原向导,这是没有用的。现在它又起作用了,但是我无法解释原因...我敢肯定,将来我会再次遇到问题。我使用的JDBC驱动程序很旧(MySQL-Connector-Java-5.1.23-bin.jar),但不要认为这是问题的根源。

Netbeans 12.x and 13 on windows, entity classes from database wizard. Sometimes the wizard stop working, I cannot connect to database with the configured datasorce or the datasorce selection box is disabled. Loading a different project the wizard works again but once it is broken on a certain project it is very hard to restore it. In the past incidents I solved moving to the latest release of Netbeans, but this time is not an option, I'm with the latest.

Some data is corrupted but I don't know how to clean and start again. On windows Netbeans stores its data in the folder appdata/local and appdata/roaming, but I think the corrupted data is not there, it is project related. In the project folder I cannot find any info about the datasource it uses.

Am I missing something ?

Should I try to delete netbeans folder inside appdata/local and appdata/roaming ?

UPDATE 1

Today is my lucky day and the wizard suddenly started working again, so no chances to get IDE log. I remember a null pointer exception launching the wizard, but nothing about the stack trace. The project is a web application which connectes to a mysql db. I'm sure I have tried both Netbeans restart and computer restart to restore the wizard and it was useless. Now it works again but I cannot explain why...and I'm sure I will have problems again in the future. The Jdbc driver I use is quite old (mysql-connector-java-5.1.23-bin.jar) but don't think it is the source of the problem.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文