我是这么解决的

对于单一项目,加入以下jar包即可。

<!--前台页面的支持-->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jsp-api</artifactId>
</dependency>

对于多模块的项目,上面这种方法就不能解决了。多模块解决方法如下:

如此便可解决!如果有更好的方法请联系我,共同学习,分享!

最新文章

  1. 转:聊聊mavenCenter和JCenter
  2. FlumeNG 笔记
  3. 个人项目框架搭建 -- Autofac简单使用记录
  4. hbm.xml 详解总结
  5. [codevs2181]田忌赛马
  6. ASP.NET应用程序与页面生命周期
  7. “ExternalException (0x80004005): GDI+ 中发生一般性错误”的问题 .
  8. onTouch和onTouchEvent
  9. python总字符串
  10. poj3580
  11. 【转】Android ROM研究---Android build system增加模块
  12. POJ 1269 - Intersecting Lines 直线与直线相交
  13. Python学习笔记——基础篇【第五周】——正则表达式(re)
  14. WebApi2 文件图片上传下载
  15. awk练习题
  16. 使用Socket对序列化数据进行传输(基于C#)
  17. 20181219-PostgreSQL 流复制监控脚本
  18. c# word interop encrypt with password protect with password
  19. centos7上安装nagios及增加监控服务器
  20. 【PowerDesigner】【2】将工具栏显示出来

热门文章

  1. lodop打印图片
  2. JavaScript--编程练习2
  3. linux学习之路7 linux下获取帮助
  4. Android 性能优化(13)网络优化( 9)Determining and Monitoring the Docking State and Type
  5. css为tbody或者li奇数偶数行样式
  6. 368 Largest Divisible Subset 最大整除子集
  7. Jquery 全选、反选问题的记录
  8. java 配置信息类 Properties 的简单使用
  9. Oracle数据库数据显示乱码问题解决方法。
  10. java list遍历三种方法