title: company is already defined as object company error in play framework 2.2.1
body: <p>I am working on a project in play. It was working fine but when I added a new controller called CompanyController, it gave me a compilation error <code>company is already defined as object company</code> in my view.</p>
  
  <p>CompanyController:</p>
  
  <pre><code>public static Result login() {
      return ok(views.html.admin.company.login.render("Your new application is ready."));
  }
  </code></pre>
  
  <p>Routes file:</p>
  
  <pre><code>GET    /company/login    controllers.companypac.CompanyController.login()
  
  GET    /assets/*file     controllers.Assets.at(path="/public", file)
  </code></pre>
  
  <p>I cant figure out why this problem is occurring?</p>
  
  <p>Searching for the <a href="https://stackoverflow.com/a/15765800/3841803">problem</a> didn't yield any resolution of the problem.</p>
  
  <p>Note: The above routes are part of my routes file and do not contain all routes.</p>