springboot+idea+jsp 404问题
2024-09-04 18:08:42
我是这么解决的
对于单一项目,加入以下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>
对于多模块的项目,上面这种方法就不能解决了。多模块解决方法如下:
如此便可解决!如果有更好的方法请联系我,共同学习,分享!
最新文章
- 转:聊聊mavenCenter和JCenter
- FlumeNG 笔记
- 个人项目框架搭建 -- Autofac简单使用记录
- hbm.xml 详解总结
- [codevs2181]田忌赛马
- ASP.NET应用程序与页面生命周期
- “ExternalException (0x80004005): GDI+ 中发生一般性错误”的问题 .
- onTouch和onTouchEvent
- python总字符串
- poj3580
- 【转】Android ROM研究---Android build system增加模块
- POJ 1269 - Intersecting Lines 直线与直线相交
- Python学习笔记——基础篇【第五周】——正则表达式(re)
- WebApi2 文件图片上传下载
- awk练习题
- 使用Socket对序列化数据进行传输(基于C#)
- 20181219-PostgreSQL 流复制监控脚本
- c# word interop encrypt with password protect with password
- centos7上安装nagios及增加监控服务器
- 【PowerDesigner】【2】将工具栏显示出来