After the project imports dependencies, it still cannot use a solution to the package

Maven has downloaded all the dependencies, but the package is still missing when the project starts

I've been reading online articles for a day, and there's nothing there

It is nothing more than changing and changing the configuration file of maven, checking and checking the environment variables, the version is correct and correct, and the configuration of idea is changed and changed

In the end it was not resolved

Finally, I saw such a method, first restore the maven configuration of idea to the default, at this time the warehouse should be on the c drive, it doesn’t matter, first run the project, download dependencies normally, run, well, all packages are normal use.

Then we replace the maven configuration with our own, alas, somehow, the project runs normally.

I don't know why, but it's solved anyway, I hope it can help everyone.

Just use idea's own maven next time, run the project once, and there will be no problems later.

Guess you like

Origin blog.csdn.net/a2285786446/article/details/129821775