When Maven downloads large projects, the jar package download error is common,
But this kind of situation often can see, such as java.lang.ClassNotFoundException such a hint,
So I have always felt that maven download jar error is nothing, until the use of springboot
Because Springboot is embedded in Tomcat, when these jar packages for Tomcat go wrong, he prompts:Unable to start Embeddedwebapplicationcontext due to missing Embeddedservletcont
This hint is that the environment fails to start and the jar package under the MAVEN repository should be checked, except for org.springframework.boot, there should also be a jar package under org.apache.tomcat ,
Because it is the first time to use the Springboot project, this error has been busy most of the day, thinking about the scope of XML configuration error, or rely on conflict, they are dizzy
/(ㄒoㄒ)/~~
Remember a springboot project, maven-induced tragedy (unable to start embeddedwebapplicationcontext due to missing Embeddedservletcont)