title: Intellij 13 not saving/compiling on debug
body: <p>I had been using Intellij 13 for awhile and it was amazing. I got a new hard drive 500 ssd and had to install it. I got my project back on my hard drive, (which I had to redo everything because Intellij did not like importing my project). But now everything works perfect except the compiler. I hit debug and nothing seems to work correctly. Come to find out none of the code is being saved/compiled unless I do a clean install with maven. I am not even sure where to start looking. I went into the settings and enabled some of the java compiler settings but to no avail. Any suggestions or ideas of where to start looking?</p>
  
  <p>I am running JSF with Apache Tomcat.</p>
  
  <p>The Pom</p>
  
  <pre><code>    &lt;project xmlns="http://maven.apache.org/POM/4.0.0" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
    http://maven.apache.org/maven-v4_0_0.xsd"&gt;
  
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;com.mkyong.common&lt;/groupId&gt;
    &lt;artifactId&gt;JavaServerFaces&lt;/artifactId&gt;
    &lt;packaging&gt;war&lt;/packaging&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;name&gt;JavaServerFaces Maven Webapp&lt;/name&gt;
    &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  
    &lt;repositories&gt;
      &lt;repository&gt;
         &lt;id&gt;java.net.m2&lt;/id&gt;
         &lt;name&gt;java.net m2 repo&lt;/name&gt;
         &lt;url&gt;http://download.java.net/maven/2&lt;/url&gt;
       &lt;/repository&gt;
    &lt;/repositories&gt;
  
    &lt;dependencies&gt;
  
      &lt;!-- MySQL database driver --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;mysql&lt;/groupId&gt;
          &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
          &lt;version&gt;5.1.9&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Spring framework --&gt; 
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring&lt;/artifactId&gt;
          &lt;version&gt;2.5.6&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
          &lt;version&gt;2.5.6&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- For Java EE Application Server, uncomment this library 
      and comment the rest of the libraries
      &lt;dependency&gt;
        &lt;groupId&gt;javax.faces&lt;/groupId&gt;
        &lt;artifactId&gt;jsf-api&lt;/artifactId&gt;
        &lt;version&gt;2.0&lt;/version&gt;
        &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      --&gt;
  
      &lt;!-- For Servlet Container like Tomcat --&gt;
      &lt;!-- http://download.java.net/maven/2 --&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;com.sun.faces&lt;/groupId&gt;
        &lt;artifactId&gt;jsf-api&lt;/artifactId&gt;
        &lt;version&gt;2.1.0-b03&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
        &lt;groupId&gt;com.sun.faces&lt;/groupId&gt;
        &lt;artifactId&gt;jsf-impl&lt;/artifactId&gt;
        &lt;version&gt;2.1.0-b03&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- EL 2.2 to support method parameter in EL --&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.glassfish.web&lt;/groupId&gt;
        &lt;artifactId&gt;el-impl&lt;/artifactId&gt;
        &lt;version&gt;2.2&lt;/version&gt;
      &lt;/dependency&gt;
  
  
      &lt;!-- http://repo1.maven.org/maven2/ --&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
        &lt;artifactId&gt;jstl&lt;/artifactId&gt;
        &lt;version&gt;1.2&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
        &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
        &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
        &lt;version&gt;2.5&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
        &lt;groupId&gt;javax.servlet.jsp&lt;/groupId&gt;
        &lt;artifactId&gt;jsp-api&lt;/artifactId&gt;
        &lt;version&gt;2.1&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- too old
      &lt;dependency&gt;
        &lt;groupId&gt;com.sun.el&lt;/groupId&gt;
        &lt;artifactId&gt;el-ri&lt;/artifactId&gt;
        &lt;version&gt;1.0&lt;/version&gt;
      &lt;/dependency&gt;
     --&gt;
  
     &lt;!-- Commons Validator 
     &lt;dependency&gt;
          &lt;groupId&gt;commons-validator&lt;/groupId&gt;
          &lt;artifactId&gt;commons-validator&lt;/artifactId&gt;
          &lt;version&gt;1.3.1&lt;/version&gt;
     &lt;/dependency&gt;
  
     &lt;dependency&gt;
          &lt;groupId&gt;oro&lt;/groupId&gt;
          &lt;artifactId&gt;oro&lt;/artifactId&gt;
          &lt;version&gt;2.0.8&lt;/version&gt;
     &lt;/dependency&gt;
      --&gt;
  
    &lt;/dependencies&gt;
  
    &lt;build&gt;
      &lt;finalName&gt;JavaServerFaces&lt;/finalName&gt;
  
      &lt;plugins&gt;
         &lt;plugin&gt;
             &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
             &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
             &lt;version&gt;2.3.1&lt;/version&gt;
             &lt;configuration&gt;
                 &lt;source&gt;1.6&lt;/source&gt;
                 &lt;target&gt;1.6&lt;/target&gt;
             &lt;/configuration&gt;
         &lt;/plugin&gt;
      &lt;/plugins&gt;
    &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>web.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
      xmlns="http://java.sun.com/xml/ns/javaee" 
      xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
      http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
      id="WebApp_ID" version="2.5"&gt;
  
    &lt;display-name&gt;JavaServerFaces&lt;/display-name&gt;
  
    &lt;resource-ref&gt;
      &lt;description&gt;MySQL Datasource example&lt;/description&gt;
      &lt;res-ref-name&gt;jdbc/mkyongdb&lt;/res-ref-name&gt;
      &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
      &lt;res-auth&gt;Container&lt;/res-auth&gt;
    &lt;/resource-ref&gt;
  
  
    &lt;!-- Change to "Production" when you are ready to deploy --&gt;
    &lt;context-param&gt;
      &lt;param-name&gt;javax.faces.PROJECT_STAGE&lt;/param-name&gt;
      &lt;param-value&gt;Development&lt;/param-value&gt;
    &lt;/context-param&gt;
  
    &lt;!-- Welcome page --&gt;
    &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;faces/default.xhtml&lt;/welcome-file&gt;
    &lt;/welcome-file-list&gt;
  
    &lt;!-- JSF mapping --&gt;
    &lt;servlet&gt;
      &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;
      &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
    &lt;/servlet&gt;
  
    &lt;!-- Map these files with JSF --&gt;
    &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/faces/*&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
    &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.jsf&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
    &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.faces&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
    &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.xhtml&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  
      &lt;filter&gt;
          &lt;filter-name&gt;LoginFilter&lt;/filter-name&gt;
          &lt;filter-class&gt;com.mkyong.LoginFilter&lt;/filter-class&gt;
      &lt;/filter&gt;
      &lt;!-- Set the login filter to secure all the pages in the /secured/* path of the application  --&gt;
      &lt;filter-mapping&gt;
          &lt;filter-name&gt;LoginFilter&lt;/filter-name&gt;
          &lt;url-pattern&gt;/secured/*&lt;/url-pattern&gt;
      &lt;/filter-mapping&gt;
  
      &lt;!-- By default go to secured welcome page --&gt;
      &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;secured/welcome.xhtml&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>