Issue
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
UPDATE: The solution is Window -> Preferences -> Maven -> User Settings and set User Settings field point to setting.xml file in maven home folder
Solution
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.
Answered By - Jorge Campos
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.