IntelliJ Artifact has invalid extension
intellij-idea, java, jboss7.x, spring-mvc
Solution
Simply add .war to your output directory name.
Unfortunately changing the `pom.xml` with Maven will probably result into a modification of the output directory, and you will have to do it again.
Problem
I have strange a problem with deploying an artifact on jboss. After generating the default spring-mvc project in IntelliJ, I tried to run it, but IntelliJ showed in "Run/Debug Configuration" a message that my "Artifact XYZ:war exploded has invalid extension". I found advice on stackoverflow "change extension" but I have correct `.war` extension. What is wrong?