title: github project not launching as web app inside eclipse
body: <p>I have eclipse mars installed with the egit plugin.  It successfully downloads projects from github, but <strong>how do I convert the downloaded github projects into eclipse maven web projects that can successfully launch via <code>Run As ... Run on server</code> in eclipse?</strong>  </p>
  
  <p>Let's take <a href="https://github.com/kyleboon/two-step-authentication-example" rel="nofollow">this two step authentication project on github</a> as an example.  <strong>How do I get <a href="https://github.com/kyleboon/two-step-authentication-example" rel="nofollow">this project</a> to launch from eclipse using <code>Run As.. Run on server</code>?</strong>  </p>
  
  <p>Here are the steps I took so far:  </p>
  
  <p>1.) Right click on white background of eclipse Project Explorer.</p>
  
  <p>2.) Choose <code>Import &gt; Import ...</code></p>
  
  <p>3.) Select <code>Git &gt; Projects</code> from git from the resulting dialog box
  Click Next</p>
  
  <p>4.) Select <code>Clone URI</code> then click next again</p>
  
  <p>5.) Enter the following in the URI field: <code>https://github.com/kyleboon/two-step-authentication-example</code></p>
  
  <p>6.) Click Next</p>
  
  <p>7.) Click Next Again</p>
  
  <p>8.) Click Next a Third time</p>
  
  <p>9.) Select <code>Import</code> using the <code>new project wizard</code>.  Then click next again.</p>
  
  <p>10.) Select <code>maven project</code> and <code>import</code></p>
  
  <p>11.) Right click on root of resulting project in eclipse Project Explorer and choose <code>Properties</code>.</p>
  
  <p>12.) Select <code>Project Facets</code></p>
  
  <p>13.) Enable <code>Project Facets</code></p>
  
  <p>14.) Select <code>Dynamic Web Module</code> to make it a <code>dynamic web project</code>. Click OK.</p>
  
  <p>15.) Right click on project root in eclipse Project Explorer.  Select <code>Maven download sources</code>, then <code>Maven update project</code>.</p>
  
  <p>16.) Right click on project root in eclipse and choose <code>Run As...Run on server</code></p>
  
  <p>The result is that tomcat gives a 404 error when it launches the following url: <code>http://localhost:8080/two-step-authentication-example/</code>  </p>
  
  <p><strong>So what steps do I do instead in order to successfully launch this specific github project in eclipse using Run As...Run on Server?</strong>  This question is general for all github web projects, but we are using this specific project as a case study to test a method that will be repeatable for other github projects.</p>