java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getHttpServletMapping()Ljavax/ser
根本原因就是 Spring-boot内置的tomcat 和你导入的javax.servlet-api起冲突解决办法把javax.servlet-api去掉<!--<dependency>--><!--<groupId>javax.servlet</groupId>--><!--<artifactId>javax.serv
·
根本原因就是 Spring-boot内置的tomcat 和你导入的javax.servlet-api起冲突
解决办法把javax.servlet-api去掉
<!-- <dependency>-->
<!-- <groupId>javax.servlet</groupId>-->
<!-- <artifactId>javax.servlet-api</artifactId>-->
<!-- </dependency>-->
更多推荐
已为社区贡献2条内容
所有评论(0)