java.lang.IllegalStateException: CDATA tags may not nest

后端 未结 6 2037
渐次进展
渐次进展 2020-11-29 06:15

I\'ve got a problem with an ajax request in a JSF page. When I click on the button, I get this exception:

SEVERE: Servlet.service() for servlet Faces Servlet         


        
6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-29 06:24

    Just to throw in something to consider as well, sometimes it can be a really bone-headed error.

    For example, sometimes I would get this same error message if I forgot to initialize an ArrayList in one of my beans that the xhtml page is using:

    I would do this:

    List myList;
    

    But forget to do this:

    myList = new ArrayList();
    

    So just as another thing to think about, make sure you've taken care of all of your housekeeping (making sure variables are initialized/populated, etc...)

提交回复
热议问题