pom.xml文件加上

<!-- getmapping注解 -->
		<dependency>
		  <groupId>org.springframework</groupId>
		  <artifactId>spring-web</artifactId>
		  <version>5.0.5.RELEASE</version>
		</dependency>
		<!--spring-webmvc-->
		<dependency>
		  <groupId>org.springframework</groupId>
		  <artifactId>spring-webmvc</artifactId>
		  <version>5.0.5.RELEASE</version>
		</dependency>
		
		<dependency>
		  <groupId>javax.servlet</groupId>
		  <artifactId>javax.servlet-api</artifactId>
		  <version>3.0.1</version>
		  <scope>provided</scope>
		</dependency>

  

相关文章:

  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
  • 2021-07-19
  • 2021-12-06
  • 2022-12-23
  • 2021-04-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2021-11-15
  • 2021-04-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案