0👍
✅
Okay, as I am having two modules IntelliJ
used the classpath of the whole project instead of the backend
module.
After changing the path in the configuration to: Use classpath of module: backend
everything works fine.
👤elp
Source:stackexchange.com