About the problem of project startup stuck in Initializing Spring root WebApplicationContext

Problem Description:

    The soa-based project created by maven is stuck in Initializing Spring root WebApplicationContext when starting the service project through tomcat.


problem solved:

    This project I made is to publish services through dubbo, and install dubbo and registered Chinese and Western zookeeper on the virtual machine. Since the ip was dynamically obtained when the virtual machine was created before, the ip that appeared when the virtual machine was started this time could not be pinged. The problem caused the service to fail to start normally. Set the IP of the virtual machine to static. After fixing the IP of the virtual machine, change the IP of the virtual machine where the registry center in the project is located to the one that has been set, restart the service, and the problem is solved.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325365295&siteId=291194637
Recommended