servlet-context.xml无法识别tile-configurer.xml

时间:2020-03-12 01:36:37

标签: spring classpath

我从客户那里收到了一个针对桌面网站的春季项目。因此,我必须为此制作一个移动版本。 这是一个很旧的代码,因此我将该项目导入了一个新项目,并使用sts4在服务器上运行。 一切正常,但我有一个问题。

servlet-context.xml无法识别其中的tile-configurer.xml文件。

  1. 这是我的有关servlet-context.xml中图块配置的代码。

enter image description here

  1. 文件结构

enter image description here

    tile-configurer.xml中的
  1. 代码 enter image description here

  2. 控制器中的用法

enter image description here

  1. 我在服务器上运行项目时出现错误消息

enter image description here

如果我运行代码,则没有错误。乙 ut UrlBasedViewResolver会忽略图块解析器(顺序:1)并运行JstlView(顺序:2)。 我不知道为什么,这让我发疯。请让我知道为什么会出现我的问题。

0 个答案:

没有答案
相关问题