I had this issue after my IntelliJ upgrade and then realised that there is a bundled plugin called "Reverse Engineering" which was not checked. I checked it and then it started to work.