Cannot resolve MVC View解决方案

Posted teayear

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Cannot resolve MVC View解决方案相关的知识,希望对你有一定的参考价值。

SpringMVC整合报错:
HTTP Status 404 – Not Found
Type Status Report

Message /view/success.jsp

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

发现原因是:Cannot resolve MVC View

此处报错 Cannot resolve MVC View

原因是视图解析器xml配置文件的视图解析器配置路径出错,之前少了/WEB-INF,修改加上后,就OK了。

class path resource [mapper/] cannot be resolved to URL because it does not exist解决办法,这个核对了一下,都么有问题,删除tomcat的原来war包,重新加载一次就好了。!!!

以上是关于Cannot resolve MVC View解决方案的主要内容,如果未能解决你的问题,请参考以下文章

已解决SpringBoot使用JSP时报错Cannot resolve MVC View ‘XXX‘

springboot引入thymeleaf时出现Cannot resolve MVC View ‘test‘

springboot引入thymeleaf时出现Cannot resolve MVC View ‘test‘

Cannot resolve symbol KeyEventCompat(android.support.v4.view.KeyEventCompat找不到)

针对idea引用文件 报错 cannot resolve directory 或者 cannot resolve file

IDEA遇到的 Cannot resolve symbol ' ****** ' 问题