Could not resolve placeholder 'pageContext.request.contextPath' in string value "${pageContext.request.contextPath"

在我们访问我们的页面的时候,发现突然报错。这个错误的大概意思是无法解析占位符。

主要是在我们的Spring-MVC.XML文件中配置有错误

Could not resolve placeholder 'pageContext.request.contextPath' in string value "${pageContext.reque

上图中的location的地址配置错误了,不应该出现这哥${pageContext.request.contextPath},在Spring里是无法解析的,只要注释掉,正确配置成我下面的映射路径就没问题了!

 

 

相关文章:

  • 2021-07-17
  • 2022-01-03
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-25
  • 2021-10-25
  • 2022-01-20
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案