org.apache.tiles.util.TilesIOException: JSPException including path '/WEB-INF/views/foobar/create.jspx'.

Spring JIRA | Sid | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    {quote} entity --class ~.domain.FooBar field date --fieldName today --type java.util.Date --class ~.domain.FooBar controller scaffold --class ~.web.FooBarController {quote} After remove scripts from create form , and submit with invalid date pattern then you would see below exceptions: {quote} java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'foobar' available as request attribute at org.springframework.web.servlet.support.BindStatus.<init>(BindStatus.java:141) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getBindStatus(AbstractDataBoundFormElementTag.java:175) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getPropertyPath(AbstractDataBoundFormElementTag.java:195) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getName(AbstractDataBoundFormElementTag.java:161) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.writeDefaultAttributes(AbstractDataBoundFormElementTag.java:124) at org.springframework.web.servlet.tags.form.AbstractHtmlElementTag.writeDefaultAttributes(AbstractHtmlElementTag.java:409) at org.springframework.web.servlet.tags.form.InputTag.writeTagContent(InputTag.java:140) at org.springframework.web.servlet.tags.form.AbstractFormTag.doStartTagInternal(AbstractFormTag.java:91) at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:78) ... IO Error executing tag: JSPException including path '/WEB-INF/views/foobar/create.jspx'. org.apache.tiles.util.TilesIOException: JSPException including path '/WEB-INF/views/foobar/create.jspx'. at org.apache.tiles.servlet.context.ServletUtil.wrapServletException(ServletUtil.java:232) at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:105) at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:96) at org.apache.tiles.renderer.impl.UntypedAttributeRenderer.write(UntypedAttributeRenderer.java:61) at org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:103) at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:669) at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:337) at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:234) at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:211) at org.apache.tiles.jsp.taglib.RenderTag.doEndTag(RenderTag.java:220) .... {quote} Note: Create form will work as expected after change modelAttribute in jsp and controller to 'fooBar'(not foobar).

    Spring JIRA | 7 years ago | Sid
    org.apache.tiles.util.TilesIOException: JSPException including path '/WEB-INF/views/foobar/create.jspx'.
  2. 0

    {quote} entity --class ~.domain.FooBar field date --fieldName today --type java.util.Date --class ~.domain.FooBar controller scaffold --class ~.web.FooBarController {quote} After remove scripts from create form , and submit with invalid date pattern then you would see below exceptions: {quote} java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'foobar' available as request attribute at org.springframework.web.servlet.support.BindStatus.<init>(BindStatus.java:141) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getBindStatus(AbstractDataBoundFormElementTag.java:175) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getPropertyPath(AbstractDataBoundFormElementTag.java:195) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getName(AbstractDataBoundFormElementTag.java:161) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.writeDefaultAttributes(AbstractDataBoundFormElementTag.java:124) at org.springframework.web.servlet.tags.form.AbstractHtmlElementTag.writeDefaultAttributes(AbstractHtmlElementTag.java:409) at org.springframework.web.servlet.tags.form.InputTag.writeTagContent(InputTag.java:140) at org.springframework.web.servlet.tags.form.AbstractFormTag.doStartTagInternal(AbstractFormTag.java:91) at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:78) ... IO Error executing tag: JSPException including path '/WEB-INF/views/foobar/create.jspx'. org.apache.tiles.util.TilesIOException: JSPException including path '/WEB-INF/views/foobar/create.jspx'. at org.apache.tiles.servlet.context.ServletUtil.wrapServletException(ServletUtil.java:232) at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:105) at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:96) at org.apache.tiles.renderer.impl.UntypedAttributeRenderer.write(UntypedAttributeRenderer.java:61) at org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:103) at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:669) at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:337) at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:234) at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:211) at org.apache.tiles.jsp.taglib.RenderTag.doEndTag(RenderTag.java:220) .... {quote} Note: Create form will work as expected after change modelAttribute in jsp and controller to 'fooBar'(not foobar).

    Spring JIRA | 7 years ago | Sid
    org.apache.tiles.util.TilesIOException: JSPException including path '/WEB-INF/views/foobar/create.jspx'.
  3. 0

    pizza shop example can't run on tomcat 5.5.15 - Spring Forum

    spring.io | 10 months ago
    org.apache.tiles.util.TilesIOException: JSPException including path '/WEB-INF/views/uncaughtException.jspx'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    datetimepicker not working in struts2

    roseindia.net | 1 year ago
    org.apache.tiles.util.TilesIOException: JSPException including path '/callrecordingview/callrecordingheading.jsp'.
  6. 0

    OKKY - Spring Tiles 오류 문의 드립니다..

    okky.kr | 1 year ago
    org.apache.tiles.util.TilesIOException: JSPException including path '/template/left.jsp'.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.tiles.util.TilesIOException

      JSPException including path '/WEB-INF/views/foobar/create.jspx'.

      at org.apache.tiles.servlet.context.ServletUtil.wrapServletException()
    2. org.apache.tiles
      AbstractBaseAttributeRenderer.render
      1. org.apache.tiles.servlet.context.ServletUtil.wrapServletException(ServletUtil.java:232)
      2. org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:105)
      3. org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:96)
      4. org.apache.tiles.renderer.impl.UntypedAttributeRenderer.write(UntypedAttributeRenderer.java:61)
      5. org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:103)
      5 frames
    3. Tiles - Core Library
      BasicTilesContainer.render
      1. org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:669)
      2. org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:337)
      2 frames
    4. Tiles - JSP support
      RenderTag.doEndTag
      1. org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:234)
      2. org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:211)
      3. org.apache.tiles.jsp.taglib.RenderTag.doEndTag(RenderTag.java:220)
      3 frames