我有一种方法可以用代码显示警报:
但我得到了错误:
Caused by: java.lang.IllegalAccessError: tried to access class smpb.ui.SMPBUICore$2 from class smpb.ui.SMPBUICore
at smpb.ui.SMPBUICore.createAlert(SMPBUICore.java:138)
at smpb.ui.SMPBUICore.showAlert(SMPBUICore.java:117)
at smpb.ui.components.systemdirectories.SMPBSystemDirectoriesComponent.checkTableExistsAction(SMPBSystemDirectoriesComponent.java:206)
... 38 more
为什么?
ps 我正在使用 NetBeans 7.4