1:最近在搭建基于SpringBoot的前端框架,demo启动,请求URL地址,页面显示(demo阶段没有指定404页面)
然后看看后台日志
No mapping found for HTTP request with URI [/sbsem1/WEB-INF/pages/home.jsp] in DispatcherServlet with name 'dispatcherServlet' |
如果你是SpringBoot项目,需要在你WebMvcConfig(集成WebMvcConfigurerAdapter)中需要重写WebMvcConfigurerAdapter的方法。
@Override public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) { configurer.enable(); }
重启后,再次调用URL,展示如下,万万没想到,竟然不解析jsp。
在项目build.gradle中添加如下配置。
providedRuntime( 'org.apache.tomcat.embed:tomcat-embed-jasper')
重启中ok了。
参考 stackoverflow上的问题
1:JSP file not rendering in Spring Boot web application
2:No mapping found for HTTP request with URI… in DispatcherServlet with name
相关推荐
delphi 2010升级到xe8后,decodestring汉字出现:No mapping for the.mht
No mapping found for HTTP request with URI [/mypaltform/user] in DispatcherServlet with name 'dispatcher' 暂时认为是配置文件有问题(但是我觉得没问题啊... 感冒了,不想工作... 白天在改吧) Log4j的配置也有...
Bump mapping is a normal-perturbation rendering technique for simulating lighting effects caused by patterned irregularities on otherwise locally smooth surfaces. By encoding such surface patterns in ...
effective SNR mapping for modeling frame error rates in multiple-state channels 3GPP2
Gmapping SLAM原始论文《Improved Techniques for Grid Mapping with Rao-Blackwellized Particle Filters》,大家可以详细阅读,有需要的可以下载。同时可以参照博客...
Simultaneous Localization and Mapping for Mobile Robots: Introduction and Methods Simultaneous Localization and Mapping for Mobile Robots: Introduction and Methods
Disease Mapping with WinBUGS and MLwiN provides a practical introduction to the use of software for disease mapping for researchers, practitioners and graduate students from statistics, public health ...
Real-Time_Tone_Mapping_for_High-Resolution_HDR_Images
ShadowMapping with GLSL
Pose graphs have become a popular representation for solving the simultaneous localization and mapping (SLAM) problem. A pose graph is a set of robot poses connected by nonlinear constraints obtained ...
资源名:A mapping package for Matlab_地图工具箱_matlab 资源类型:matlab项目全套源码 源码说明: 全部项目源码都是经过测试校正后百分百成功运行的,如果您下载后不能运行可联系我进行指导或者更换。 适合人群:...
Desktop GIS Mapping the Planet with Open Source Tools.pdf
Programming for Mixed Reality with Windows 10, Unity, Vuforia, and UrhoSharp (Developer Reference) By 作者: Dawid Borycki ISBN-10 书号: 1509306870 ISBN-13 书号: 9781509306879 Edition 版本: 1 出版日期:...
这是一个关于Mapping of stream microhabitats with high hyperspectral imagery的文档
Parallel Tracking and Mapping for Small AR Workspaces; camera pos tracking and mapping;SLAM;
本文基于Mapping Architect for Visio ,在Informatica上实现工作流的批量设计,实现历史数据初始化抽取,当然也可以做复杂的工作流批量设计,本文仅仅介绍源表和目标表表结构不同的批量开发。 软件版本:visio2010...
Author Jim Kalbach, Principal UX Designer with Citrix, introduces you to the principles behind alignment diagrams—a class of deliverable also known as experience mapping—using several examples....
Deep learning with convolutional neural networks for brain mapping and decoding of movement-related information from the human EEG