title: Selenium 2 (WebDriver) + Java + Maven + Eclipse Hello World Program issue
body: <p>Java "Hello World" project convert to Maven Project and it stopped working with error </p>
  
  <blockquote>
    <p>"Error: Could not find or load main class...."</p>
  </blockquote>
  
  <p>Hi All,</p>
  
  <p>I did lot of search in google but couldn't find any Hello World program for <code>Selenium 2 ( WebDriver )+ Java + Maven + Eclipse</code> setup instructions</p>
  
  <p>I'm having below setup</p>
  
  <blockquote>
    <ol>
    <li>Eclipse with Maven plugin</li>
    <li>Created a Java project "Hello World" and it worked fine when ran as "Java Application"</li>
    <li>Then converted this to Marven Project.</li>
    <li>Tried to run whole project but it didn't run</li>
    <li>Tried to run Hello World file and it's consistently failed with error "Error: Could not find or load main class...."</li>
    </ol>
  </blockquote>
  
  <p>Questions:</p>
  
  <blockquote>
    <ol>
    <li>How to setup and run basis selenium 2 program with maven inside Eclipse</li>
    <li>Why java stopped working after converting to Maven project.</li>
    </ol>
  </blockquote>
  
  <p>Thanks in advance.</p>
  
  <p>Regards,
  Vikram</p>