Server configuration
- Go to Tencent Cloud (Alibaba Cloud purchases servers and domain names and records them, the server uses centos system)
- The server container uses tomcat, and the SSL certificate is installed and the https certificate installation guide
- Install Xshell and Xftp, configuration is omitted
- Solution to java.net.UnknownHostException when a domain name cannot be resolved
SpringBoot project
- Create a SpringBoot project in the idea environment
- Self-check SpringBoot comments and file directory structure
- Maven adds third-party jar packages into the local maven library
- How to configure and implement cross-domain requests under SpringBoot
- Import the Log4j package and develop a good habit of outputting logs to facilitate bug inspection
- Cancel the dependency of tomcat in the pom.xml file, package SpringBoot into a war file and rename it to ROOT.war, then directly deploy to tomcat's webapps, restart tomcat