I install my new Window OS and run my old maven project on Tomcat Server. Then I get this message, "DUY" is my old user. I don't know how to setting my project to read .m2 folder of new user. I tried to clean project, maven clean, maven install, but it's not working
CodePudding user response:
Go to:
Window -> Preferences -> Maven -> User Settings
There you will see a field for you to configure your local repository a.k.a. m2
folder.
EDIT:
In that same page, check where it is pointing to the settings.xml
file, open it and then check to where that file is pointing to your local repository.