I'm writing a Play Framework app using sub-modules "a" and "b", by following the official doc. The routes files are based on package, so for example:
POST /action controllers.a.Controller.action()
POST /action controllers.b.Controller.action()
Each app has the same structure.
Controller.java (package controllers.a;)
Controller.java (package controllers.b;)
How to resolve that with IntelliJ and make the imports work?