IntelliJ + Spring Web MVC : <p>I have problem with IntelliJ 2016.1.3 and Spring Web MVC integration.
Steps I've made:</p>

<ol>
<li>File -> New -> Project... -> Maven (no archetype)</li>
<li>GroupId = test ArtifactId = app</li>
<li>Project name = App and Finish.</li>
<li>I added to pom.xml &lt; packaging > war &lt; /packaging ></li>
<li><p>I added to pom.xml dependencies <br/></p>

<pre>
&ltdependency&gt
        &ltgroupId&gtorg.springframework&lt/groupId&gt
        &ltartifactId&gtspring-webmvc&lt/artifactId&gt
        &ltversion&gt4.1.6.RELEASE&lt/version&gt
&lt/dependency&gt
&ltdependency&gt
        &ltgroupId&gtjavax.servlet&lt/groupId&gt
        &ltartifactId&gtjstl&lt/artifactId&gt
        &ltversion&gt1.2&lt/version&gt
&lt/dependency&gt
&ltdependency&gt
        &ltgroupId&gtjavax.servlet&lt/groupId&gt
        &ltartifactId&gtjavax.servlet-api&lt/artifactId&gt
        &ltversion&gt3.1.0&lt/version&gt
        &ltscope&gtprovided&lt/scope&gt
&lt/dependency&gt
</pre></li>
<li><p>Next I added modules into project (right click on project name -> Add Framework Support... ). I selected Spring MVC and Download (Configure... - selected all items).</p></li>
<li><p>I created controller class HomeController.class</p>

<pre>
package test.app;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HomeController {
    @RequestMapping(value="/")
    public String test()
    {
        return "test";
    }
}
</pre></li>
<li><p>I created webapp\WEB-INF and put there web.xml</p>

<pre>
&ltweb-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                                 http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"&gt
    &ltservlet&gt
        &ltservlet-name&gtWebServlet&lt/servlet-name&gt
        &ltservlet-class&gtorg.springframework.web.servlet.DispatcherServlet&lt/servlet-class&gt
        &ltinit-param&gt
            &ltparam-name&gtcontextConfigLocation&lt/param-name&gt
            &ltparam-value&gt/WEB-INF/dispatcher-servlet.xml&lt/param-value&gt
        &lt/init-param&gt
    &lt/servlet&gt

<pre><code>&amp;ltservlet-mapping&amp;gt
    &amp;ltservlet-name&amp;gtWebServlet&amp;lt/servlet-name&amp;gt
    &amp;lturl-pattern&amp;gt/&amp;lt/url-pattern&amp;gt
&amp;lt/servlet-mapping&amp;gt
</code></pre>

&lt/web-app&gt
</pre></li>
<li><p>Into webapp\WEB-INF I put dispatcher-servlet.xml</p>

<pre>
&lt?xml version="1.0" encoding="UTF-8"?&gt
&ltbeans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:mvc="http://www.springframework.org/schema/mvc"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
        http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd"&gt


<pre><code>&amp;ltmvc:annotation-driven /&amp;gt
&amp;ltcontext:component-scan base-package="test.app" /&amp;gt

&amp;ltbean class="org.springframework.web.servlet.view.InternalResourceViewResolver"&amp;gt
    &amp;ltproperty name="prefix" value="/WEB-INF/views/" /&amp;gt
    &amp;ltproperty name="suffix" value=".jsp" /&amp;gt
&amp;lt/bean&amp;gt
</code></pre>

&lt/beans&gt

</pre></li>
<li><p>Finally I added test.jsp file into webapp\WEB-INF\views. In addition I had to add module dependency (F4 -> modules -> dependencies -> + -> library -> from maven -> typed javax.servlet:jstl:1.2)</p></li>
<li>Next step should be run application. I had to edit configurations (down arrow next to green arrow) -> + -> TomcatServer -> Local and I got warning No artifacts marked for deployment. Unfortunatelly I can't fix this problem. I have Fix button but after I press this I get Deployment tab and don't what to do.</li>
</ol>

<p>Please help me with deployment configuration and tell me is my way of creating spring web application in IntelliJ good or have you got another better way. I need step by step tutorial because I watched some movies on youtube and I saw options I haven't in my Intellij or they are hidden and I can't find them.
Best regards    </p>
