Springboot开发jsp页面出现404的解决方法
1.springboot引入包
<!-- 引入jsp依赖有两那个-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
</dependency>
2.路径正确的情况下
修改工作路径为项目路径
点击ok即可