I have several interconnected Eclipse projects. When I try to create my workspace, I have many problems. Presumably, problems should go if I make Maven clean, update, install and clean up the project, update, create everything (I do everything in Eclipse via the Run and Project menus respectively).
However, I am confused by what should be the best orders to carry out these actions? Also, can someone briefly explain what each of them does so that I can better understand and understand when I can skip some?
In particular: I was told that just running Maven Clean and Maven Install is enough. Although Maven Install ends in "Build Success", I still have errors in the "Problems" tab and the nasty error "Could not find or load export of the main class" when trying to run some classes in a specific project. I try to start Project Clean a couple of times, and then Project Build a couple more times, and errors may or may not go. I was recommended to enter Maven Update β all projects and select all projects> Update (F5) steps, but I'm not sure when to execute them (after cleaning, installing or building).
Is there any βcorrectβ procedure for performing these actions? So, if I execute it and some errors remain, it becomes clear that something is wrong in my version, and not just with dependencies? I pulled projects from RTC (a collaboration tool for software developers), and my colleagues do not have these problems. However, I just recently pulled it.
source share