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服务,则不需要。

posted @ 2021-07-09 22:30  chris丶94  阅读(98)  评论(0)    收藏  举报