Deploy web projects on tomcat in idea
- Add tomcat server Add the tomcat server server
in the templates template, find the local configuration, and then create a name for the configuration.
- Deploy the project
Select the deployment option, add the artifact configuration ( essential ), here you need to add the artifact configuration and select the war package for deployment
- Successful deployment
Run the project, the project will be generated in the webapps directory of the tomcat server, you can also use this method to check whether the project is successfully deployed, if the project is generated in webapps, it means the deployment is successful, otherwise continue to deploy
The client connects to rabbitmq
ConnectException: Connection timed out: no further information
Reason The
server firewall is not turned off
Solution
Turn off the server firewallsystemctl stop firewalld
Unable to access idea official website
Solution
Find the host.sys file, C:\Windows\System32\drivers\etc\host.sys and comment out the following 2 lines. If the system file host does not have permission, you can drag the host file to the desktop to modify it, and then drag it back to the original directory after saving.
spring-boot-maven-plugin reported an error and could not be found
Cannot find plug-in dependencies, report an error
Solution
There is no version number configured, try to configure the version number
Application.properties configuration file annotation exception
Reason
Add the configuration in the application.properties configuration file, add a comment after it, and
solve it as follows.
Remove the comment on the same line of the configuration file and start a new line to re-annotate