In unit tests, the source classes are not accessible in the modular, Ant-based project if the module-info.java is defined. Unfortunately, I haven’t found a solution for this. In NetBeans 15 it worked. Has anyone encountered a similar problem? Do you know a solution for this? This is a screen shot that shows the problem: