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










