SpringBootServletInitializer
Note that a WebApplicationInitializer is only needed if you are building a war file and deploying it.
If you prefer to run an embedded web server then you won't need this at all.
只有需要打包成war包时,才需要。如果更喜欢嵌入式的web服务,则不需要。
Note that a WebApplicationInitializer is only needed if you are building a war file and deploying it.
If you prefer to run an embedded web server then you won't need this at all.
只有需要打包成war包时,才需要。如果更喜欢嵌入式的web服务,则不需要。