The scan of annotations for web application [] could not be completed due to a stackoverflower error. Possible root causes include the low setting of – XSS and illegal circular inheritance dependencies. The class hierarchy being processed is

Solution:
exclude the scanning of the above jar packages in the conf/Catalina. Properties file of tomcat, that is, add the following at the end of tomcat.util.scan.standardjarscanfilter.jarstoskip in the conf/Catalina. Properties file:

bcpkix-*.jar,bcprov-*.jar,fr-*.jar

If you feel that Tomcat starts slowly, it is because you want to scan servlet3.0 annotations in jars. You can increase the speed by adding jars that do not need to be scanned at the end of tomcat.util.scan.standardjarscanfilter.jarstoskip in the conf/Catalina. Properties file, such as:

spring-amqp-*.jar,\

spring-aop-*.jar,\

spring-aspects-*.jar,\

spring-beans-*.jar,\

Record the problem and complete the solution.

Read More: