Table of contents
2. Enter the tomcat bin directory of the project
3. Close tomcat and then start tomcat
When testing on the server, I encountered java.lang.NullPointerException:null;
The specific scenario is that when project A calls project B, it responds successfully, but the data returned is incorrect;
Then go to the console of project B to look at the log and find the following error message:
Solution: Restart project B on the server
1. Log in to the server
2. Enter the tomcat bin directory of the project
3. Close tomcat and then start tomcat
./shutdown.sh
./startup.sh
Test and run again and it will be OK