Results 1 to 5 of 5

Thread: Upon Roo Removal in STS: Unexpected exception parsing XML error in webmvc-config.xml

Threaded View

  1. #1
    Join Date
    Oct 2008
    Posts
    286

    Exclamation Upon Roo Removal in STS: Unexpected exception parsing XML error in webmvc-config.xml

    Can't found the JIRA for STS, please allow me to post here thsi issue..

    Steps to Reproduce:
    1) downloaded and successfully extracted the springsource-tool-suite-2.3.0.RELEASE-e3.5.1-win32.zip

    2) successfully executed the sts.exe and use the Roo based on the 1.5. First Steps: Your Own Web App in Under 10 Minutes

    3) confirmed the Selenium Test in my http://localhost:8080/tenminutes..

    from here trying to remove the Roo based on the Chapter 6. Removing Roo

    4) successfully executed the following:
    4.1) 6.3.1. Step 1: Push-In Refactor
    4.2) 6.3.2. Step 2: Annotation Source Code Removal (twice because some Roo Annotations left)

    BUT... when I remove the Roo dependency from pom.xml (6.3.3. Step 3: Annotation JAR Removal)...

    Unexpected exception parsing XML document from file [C:/workspace-sts-2.3.0.RELEASE/ten-minutes/src/main/webapp/WEB-INF/spring/webmvc-config.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefini tionException: No bean named 'org.springframework.web.servlet.handler.SimpleUrl HandlerMapping#ten-minutes#src/main/webapp/WEB-INF/spring/webmvc-config.xml#20' is defined

    please refer to the attached screenshot of my STS..

    look at webmvc-config.xml, has no any errors indicated instead 3 warnings on the right side near by horizontal scroll bar..
    STSbug2.jpg

    pom.xml screenshot, svn diff of Roo jar removal...
    STSbug.jpg

    *in markers area, please focus only on the red box and ignore the other errors (its unrelated errors)
    Last edited by eros; Feb 21st, 2010 at 11:44 AM.
    Eros

    Environment:
    JSP 2.0
    Dojo 1.4.1
    Ext JS 3.1 (testing)
    Spring MVC 2.5.6.SEC01 (planning to Spring 3 using STS)
    STS
    SWF 2.0.9.RELEASE
    Tiles 2.0.5
    iBatis: ibatis-sqlmap-2.3.4.726

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •