The package org.openqa.selenium is accessible from more than one module
This happens when you have added the external jars in the ModulePath.
Solution:
- Remove the external jars from the node "Modulepath".
- Select the node "Classpath" then add the external jars.
- Review that all the jars are under the node "Classpath".
The problem is that you are adding Jar files to your Modulepath instead of Classpath. Go toProject->BuildPath->Config BuildPath->Remove Jars from Modulepath->then click on classpath->Add external selenium jar files.
Add all the required jar files inside classpath instead of module path. The same issue was also occurred with me but after adding the jars to classpath it got resolved.