Program encountered minor problems and solutions
Note: This article is only a personal study notes, passing through predecessors, if the article in question also invited criticism and bloggers moment humbly ask!
(Continuously updated ing ...)
A, Springboot start error
The Tomcat connector configured to listen on port 7770 failed to start The port may already be in use or the connector may be misconfigured..
Solution:
1) Check the port number cmd computer starts the process of entering the command window:
netstat -ano | findstr " port number ", then Enter you can see which application this port is occupied, if so, to occupy the port end of the application, the detailed steps refer to Baidu experience:
https://jingyan.baidu.com/article/fdffd1f89a0c8af3e98ca10e.html
If not, method 2, the following
2) to modify the port number application.yml document, ok
Second, on the maven repository configuration
- Setting.xml simply modify the file to point to the new maven repository, pom in a jar can be automatically downloaded to the local
- Refresh load If unsuccessful, clean> compiler> install, you can; if not successful, replace the maven jar package storage location, idea> file> maven> local repository, ok