Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"Document root element "beans", must match DOCTYPE root" problem

 
Yves Laurent
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I just don't understand this error. Appreciate your help.

Thanks in advance.

index.jsp:
<%@ page session="true" %> <%-- make sure we have a session --%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
</HEAD>
<BODY>
<DIV align="left">TM - A Spring Web Flow Nightmare</DIV>
<HR>
<DIV align="left">
<P>
<A href="a_c.htm?_flowId=edit-flow">a_c</A>
</P>
<P>
This sample application illustrates core features of the web flow system.
</P>
</DIV>
<HR>
<DIV align="right"></DIV>
</BODY>
</HTML>

Web.xml:



tm-servlet-config.xml:


tm-webflow-config.xml



edit-flow.xml:


active_campaigns.jsp:
 
Yves Laurent
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
error message:
root cause
org.springframework.beans.factory.BeanDefinitionStoreException: Line 6 in XML document from ServletContext resource [/WEB-INF/tm-servlet-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic