I have a module that is behaving very weird. Classes in a package are not visible to other packages in the same module. I am forced to add the module's jar file to be able to make them visible (yes, I have to compile the module, and add itself to its dependencies so it can 'see' its own classes). Even IDEA asks me if I want to add the module's own compiled jar as a solution to the unknow classes.
Furthermore, I dont't get the option to add new Java classes to a package on src/java. When right-click -> New, I only get "File" and "Package" options where the "Java Class" should be.
Has anybody have this problem before or knows what is going on?