java 学习笔记

1.  getDispatcherType() is undefined for the type HttpServletRequest

<dependency>
  <groupId>javax.servlet</groupId>
  <artifactId>javax.servlet-api</artifactId>
  <version>3.1.0</version>
</dependency>
maven 错最好还是在maven中解决
原文地址:https://www.cnblogs.com/anjuncc/p/4713671.html