Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
2.1.3
-
None
-
None
-
Windows
-
Patch
Description
Seems to be a bug with BaseLocaleUrlDefinitionDAO used by TilesConfigurer when using auto code formatting in IDE's such as eclipse.
The following code has tab / new line characters that are not stripped off in the BaseLocaleUrlDefinitionDAO.identifySources applicationContext.getResources(resources[i]) (line 188) call.
End result is that a FileNotFoundException is thrown (value is /WEB-INF/layouts/layouts.xml\n\t\t\t\t).
<bean class="org.springframework.web.servlet.view.tiles2.TilesConfigurer"
id="tilesConfigurer">
<property name="definitions">
<list>
<value>/WEB-INF/layouts/layouts.xml
</value>
<!-- Scan views directory for Tiles configurations -->
<value>/WEB-INF/views/**/views.xml
</value>
</list>
</property>
</bean>