using intellij to create a delpoyable war