Springboot項目打包war時,啓動報錯。
Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/dbank-swagger]] Caused by: java.lang.NoClassDefFoundError: javax/servlet/GenericFilter Caused by: java.lang.ClassNotFoundException: javax.servlet.GenericFilter
解決方案:
tomcat換成版本8.5以上就沒有問題了。