[英]Unable to import self-made classes into IntelliJ GUI designer form's corresponding class
I am currently unable to use any classes that I have written into the IntelliJ GUI Designer form's corresponding class unless they are within the same package. 当前,除非它们在同一程序包中,否则我将无法使用已写入IntelliJ GUI Designer表单的相应类的任何类。 I already invalidated IntelliJ's caches with no change.
我已经使IntelliJ的缓存无效,没有任何改变。 Anyone know what's going on here?
有人知道这是怎么回事吗?
EDIT: Crud. 编辑:克鲁德。 Anything within the maingui package cannot view any self-made classes outside of it now.
现在maingui包内的东西无法查看它之外的任何自制类。
Changing the source folder to a generic package and back to the source folder fixed it. 将源文件夹更改为通用包,然后再将其更改回源文件夹即可对其进行修复。 Don't ask me why.
不要问我为什么。 I don't know.
我不知道。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.