只需要把依赖改成这样就可以
<dependencies> <dependency> <groupId>jakarta.servlet</groupId> <artifactId>jakarta.servlet-api</artifactId> <version>5.0.0</version> <scope>provided</scope> </dependency></dependencies>
Sign in to make a reply
Reason
只需要把依赖改成这样就可以