This happens when you have added the external jars in the ModulePath.
Solution:
1) Remove the external jars from the node "Modulepath".
2) Select the node "Classpath" then add the external jars.
3) Review that all the jars are under the node "Classpath".