Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3130

Unclear fatal error message shown when *.jspx syntax is not correct

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1.RELEASE
    • Fix Version/s: None
    • Component/s: WEB MVC
    • Labels:
      None
    • Environment:
      Mac OS 10.7.3

      Description

      On following pizza shop tutorial, http://static.springsource.org/spring-roo/reference/html/beginning.html.

      In 2.10. Securing the Application,

      After I misplaced this line:
      xmlns:sec="http://www.springframework.org/security/tags"

      I got the following error message in the console:
      roo> [Fatal Error] :1:77: The encoding declaration is required in the text declaration.
      The encoding declaration is required in the text declaration.

      I didn't know what causes the error message shown when i just saw it, and had to spent a little bit effort to find out what went wrong. If a line indicates which file and what line causes give the error message would be awesome.

      Similar error messages also appear when I intentionally put down a typo error on any *.jspx files.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jackwu1985 Jack Wu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 1d
                1d
                Remaining:
                Remaining Estimate - 1d
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified