Announcement Announcement Module
Collapse
No announcement yet.
Spring MVC step by step Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring MVC step by step

    I did reach till Step 11 but after that I got an error from the SAX parser that the string "--" is not valid for the comments. I did update the jar file for the Xerces but still I got the same error. I am using Tomcat 5.0.28. I am also getting a similar error with Tomcat 5.5.9.
    I would appreciate any pointer.

    This error is because of this line in springapp-servlet.xml file:

    <!--
    - Application context definition for "springapp" DispatcherServlet.
    -->

    I think it is a valid statement,but I think there is some error with xerces.

    Thanks

    Syed

  • #2
    Re: Spring MVC step by step

    Originally posted by syed_rizvi
    I did reach till Step 11 but after that I got an error from the SAX parser that the string "--" is not valid for the comments. I did update the jar file for the Xerces but still I got the same error. I am using Tomcat 5.0.28. I am also getting a similar error with Tomcat 5.5.9.
    I would appreciate any pointer.

    This error is because of this line in springapp-servlet.xml file:

    <!--
    - Application context definition for "springapp" DispatcherServlet.
    -->

    I think it is a valid statement,but I think there is some error with xerces.

    Thanks

    Syed
    Try removing the first '-' from before your comment - you cannot use a '-' as the first character in a comment if I recall.

    Code:
    <!--
    Application context definition for "springapp" DispatcherServlet.
    -->
    Bob

    Comment

    Working...
    X