1.idea fast new spring boot project
2. related problems encountered Screenshot (various packages issue)
So, begin Baidu, check solution following is a summary, there is a hope that is right for you.
1. The main issue is pay attention to your configuration idea
Look at the maven and correct jdk
2. refresh try to re-download
3. I walked a little detour, again pulled maven, and check their configuration issues. (Main maven is a bit strange, it is deleted)
Here I changed the B operating the computer to do new projects, everything is normal, so I put my computer maven local repository and deleted, pull B computer replaced, re-operation, still far from being given to the face, headache .
Work, and then every other day I changed the C computer operation, the same error. After checking the basic configuration issues, see which packages have a problem, go to the local warehouse will make corresponding packet delete re-download maven, OK the. (It would be a solution) I did the same operation is still not at their computers, alas, I was a bit skeptical life.
4. Then I changed settings.xml maven, replacing what url, there is always a right for you.
<mirrors>
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<!-- <url>http://maven.aliyun.com/nexus/content/groups/public</url> -->
<url>http://mvnrepository.com</url>
<!-- <url>http://repo.maven.apache.org/maven2</url>-->
</mirror>
</mirrors>
Be patient, be downloaded again after ok.
After the run, a little lost, what the hell.
It does not matter does not matter, a small error.
Port number is already in use
Under the project resource folder plus application.properties
server.port=${port:8888}
After running ok, a little happy. I hope you, too happy, ha ha the first time with the idea too difficult.
s