I'm using Eclipse version Oxygen.2 Release (4.7.2) with M2E version 1.8.2.20171007-0217 on Windows 7
.
When I define a new RUN configuration I can see the Maven dependencies of the Main project (the one defined in the Main tab of the "Run Configurations" dialog) in the Classpath tab.
However, I cannot add the Maven dependencies of the other projects that I added to the Classpath tab, under "User Entries". The result is that I get ClassNotFoundException. To solve that, I need to explicitly add the external JARs from my local .m2
repository.
I googled around to see if I could find a solution but I could not find anything useful.
Is it possible to do what I am trying to do, i.e. adding the maven dependencies of all the projects added to the Classpath tab to the classpath? How can I do that?