When building a plugin project with IntelliJ an ApplicationLoader class is generated which results in a created WAR file not loading correctly. Probably the cause of #9901 and #9676
We should use a marker interface of the Application class for plugins to avoid this problem.