使用Jsp视图 使用内置的Tomcat容器时如果需要使用Jsp视图,需要在pom.xml中添加如下依赖。 <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-