Setup two resolvers with exclude view
Delete useless web.xml
Add idea plugin to build.gradle