ERROR 10724 --- com.alibaba.druid.pool.DruidDataSource:{dataSource-2} init error [Resolved] How to restart tomcat

Table of contents

1. Log in to the server  

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 

Guess you like

Origin blog.csdn.net/m0_73442728/article/details/131723738