Fix Eclipse and Intellij warnings for webapp module