https://www.cnblogs.com/wangmeng960111/p/10985159.html

 

1.选择项目配置

SpringBoot增加webapp的解决办法

 

2.添加web

SpringBoot增加webapp的解决办法

 

3.修改webapp地址

SpringBoot增加webapp的解决办法SpringBoot增加webapp的解决办法

4.添加成功

SpringBoot增加webapp的解决办法

 5.最后引入支持jsp的jar包

SpringBoot增加webapp的解决办法

SpringBoot增加webapp的解决办法

 1         <!--引入支持jsp的架包-->
 2         <dependency>
 3             <groupId>javax.servlet</groupId>
 4             <artifactId>javax.servlet-api</artifactId>
 5             <scope>provided</scope>
 6         </dependency>
 7         <dependency>
 8             <groupId>javax.servlet</groupId>
 9             <artifactId>jstl</artifactId>
10         </dependency>
11         <!--tomcat支持-->
12         <dependency>
13             <groupId>org.springframework.boot</groupId>
14             <artifactId>spring-boot-starter-tomcat</artifactId>
15             <scope>provided</scope>
16         </dependency>
17         <dependency>
18             <groupId>org.apache.tomcat.embed</groupId>
19             <artifactId>tomcat-embed-jasper</artifactId>
20             <scope>provided</scope>
21         </dependency>                

SpringBoot增加webapp的解决办法

 

 

 

相关文章:

  • 2021-09-21
  • 2021-08-20
  • 2022-12-23
  • 2019-05-20
  • 2021-07-20
  • 2021-08-11
  • 2022-12-23
  • 2023-03-31
猜你喜欢
  • 2022-12-23
  • 2022-01-02
  • 2021-07-30
  • 2019-01-22
  • 2021-12-16
  • 2022-12-23
相关资源
相似解决方案