JSP/SERVLET
2022.05.02 / 15:50

[Error:JSP] CannotRenderException ÇØ°á

ÄÚÄÚ·Î
Ãßõ ¼ö 182

¿À·ù ³»¿ë

 

ŸÀÔ ¿¹¿Ü º¸°í

¸Þ½ÃÁö Request processing failed; nested exception is org.apache.tiles.impl.CannotRenderException: Çà [29]¿¡¼­ [/WEB-INF/tiles/admin/template.jsp]À»(¸¦) ó¸®ÇÏ´Â Áß ¿¹¿Ü ¹ß»ý

¼³¸í ¼­¹ö°¡, ÇØ´ç ¿äûÀ» ÃæÁ·½ÃÅ°Áö ¸øÇÏ°Ô ÇÏ´Â ¿¹±âÄ¡ ¾ÊÀº Á¶°ÇÀ» ¸Â´Ú¶ß·È½À´Ï´Ù.

¿¹¿Ü

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.tiles.impl.CannotRenderException: Çà [29]¿¡¼­ [/WEB-INF/tiles/admin/template.jsp]À»(¸¦) ó¸®ÇÏ´Â Áß ¿¹¿Ü ¹ß»ý

 

 

 

Tiles¿¡ ¼±¾ðÇÑ attributeÁß ÇØ´ç attribute ³»¿ë¿¡ ¾Æ¹«·± °ªÀÌ ¾øÀ» ¶§ ¹ß»ý

 ¡æ Tiles¿¡ ¼±¾ðÇÑ attribute¿¡ °ªÀÌ ¾øÀ» °æ¿ì Runtime ExceptionÀÌ ¹ß»ýÇÑ´Ù´Â °Í

 

 

 

 

 ¿À·ù ÇØ°á 

 

¡æ tiles:putAttibute ignore±âº» °ª  = "false"±â ¶§¹®¿¡ "true"·Î ¹Ù²ãÁÜ

 

<!DOCTYPE html>
<html lang="ko">
<tiles:insertAttribute name="head"/>

<body>
<tiles:insertAttribute name="header"  ignore="true"/>