title: Package name does not correspond to the file path
body: <p>I am new to maven and trying to run simple spring demo. I am using Intellij IDEA as my IDE. I am following tutorial provided <a href="http://www.mkyong.com/spring/quick-start-maven-spring-example/" rel="nofollow">here</a>.</p>
  
  <p>So i ran </p>
  
  <pre><code>mvn archetype:generate -DgroupId=SpringDemo -DartifactId=SpringExamples 
      -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
  </code></pre>
  
  <p>and then did </p>
  
  <pre><code>mvn idea:idea
  </code></pre>
  
  <p>It generated all .ipr,.iws etc file. Then I simply did open from IDEA and selected the .ipr file. It detected it as IDEA project and opened it but it gives me following error</p>
  
  <pre><code>Package name 'cospring' does not correspond to the file path 'cospring-demo'
  </code></pre>
  
  <p>App class is </p>
  
  <pre><code>package cospring-demo;
  
  /**
   * Hello world!
   *
   */
  public class App
  {
      public static void main( String[] args )
      {
          System.out.println( "Hello World!" );
      }
  }
  </code></pre>
  
  <p>What is the issue? Any work around?</p>