First project a lot of error in the pom inspect a maven model for resolusion problems, looking for a long time on the net this solution is no good to me, then I think whether maven local file make a mistake, then I changed my,
Behind but there are still wrong, look at the install file of repeated dependent problems found again knocked again this error didn't
But there is a lot of downlocal intall, then go to the website to find, and found that is the reason of incomplete file is downloaded, the solution is input in the CMD MVN install: intall - file can download down under but the data will be stored in the default location we are also set up storage location can also be package in the default location and then transferred to the local library, I am using the second method
Then break once they can be spent spent anyway I all the cause of the error is the package configuration is not complete, hurt you all the other ways to solve the problems is likely to be the package's
CodePudding user response:
CMD/k "CD % userprofile % \. M2 \ repository & amp; & For/r % % I in (*. Sha1 - in - progress) do del % % I "
% userprofile % \. M2 \ repository to replace your local maven repository path
One, in the desktop create a TXT file, enter the code above,
Second, save the file extension after TXT to bat, double-click on the run,
Second, to update the maven, patience and so on it the download is complete,
Four, if not yet, only the whole library is deleted again,
CodePudding user response:
1st floor code is wrong, it's like this,CMD/k "CD % userprofile % \. M2 \ repository & amp; & For/r % % I in (*. LastUpdated) do del % % I "
CodePudding user response:
Learn learned many thanks