netbeans形成加载问题

时间:2010-12-14 17:01:28

标签: user-interface forms netbeans code-generation

Error in loading component: [jDialog]->mainPanel->titleBar
cannot create instance of <qualified classname>
The component cannot be loaded.

Error in loading layout: [JDialog]->mainPanel->[layout]
Failed to initialize layout of this container

Errors occured in loading the form data. It is not recommended to use this form now in editable mode - data that could not be loaded would be lost after saving the form. Please go through the reported errors, try to fix them if possible, and open the form again. If you choose to open the form as View Only you may see which beans are missing.

最近移动了一个以多种形式使用的类,但是form和java文件中的所有路径都更新为指向新位置。有人知道什么可能导致这样的错误吗?

我尝试过的事情:清理+构建,删除并重新添加所有库jar文件,确保标题栏和SVN中的旧版本相同,但包更改除外。与各自的表单文件进行相同的比较。

1 个答案:

答案 0 :(得分:3)

在“视图”菜单中,有一个IDE日志选项,可以让我看到幕后发生的事情导致此错误。

其中一个标签文本的自定义代码抛出异常。