Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: 2.6.0.RELEASE
    • Fix Version/s: None
    • Component/s: VALIDATION
    • Labels:
      None
    • Environment:

      Description

      Bean XML files can't be parsed due to Xerces insantiation error:

      !ENTRY org.springframework.ide.eclipse.beans.core 1 0 2011-03-18 13:14:02.697
      !MESSAGE Error occured processing 'beans.xml'
      !STACK 0
      org.apache.xerces.parsers.ObjectFactory$ConfigurationError: Provider org.apache.xerces.parsers.XIncludeAwareParserConfiguration could not be instantiated: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
      at org.apache.xerces.parsers.ObjectFactory.newInstance(Unknown Source)
      at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
      at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
      at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
      at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
      at org.springframework.ide.eclipse.core.io.xml.LineNumberPreservingDOMParser.<init>(LineNumberPreservingDOMParser.java:40)
      at org.springframework.ide.eclipse.core.io.xml.XercesDocumentLoader.loadDocument(XercesDocumentLoader.java:35)
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
      at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$2.loadBeanDefinitions(BeansConfig.java:375)
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
      at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:421)
      at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:1)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)

      This happened after I upgraded from 2.5.2 to 2.6.0; I deleted my old STS and downloaded the install file for 2.6.0, but the error still happens.

        Activity

        Hide
        stuart law added a comment -

        Thanks Martin.
        Worked fine, much appreciated.
        Stuart

        Show
        stuart law added a comment - Thanks Martin. Worked fine, much appreciated. Stuart
        Hide
        Arata Yamamoto added a comment -

        Dear Christian,
        I use Spring IDE (Not STS yet) and cannot install the patch from http://dist.springsource.com/release/TOOLS/patches/e3.6 because of access denied error.
        Would you mind asking attach the patch for Spring IDE to this JIRA too?
        Or I wonder if I can apply the attached STS patch on Spring IDE too, if so, then could you tell the instructions kindly?

        Regards,
        Art

        Show
        Arata Yamamoto added a comment - Dear Christian, I use Spring IDE (Not STS yet) and cannot install the patch from http://dist.springsource.com/release/TOOLS/patches/e3.6 because of access denied error. Would you mind asking attach the patch for Spring IDE to this JIRA too? Or I wonder if I can apply the attached STS patch on Spring IDE too, if so, then could you tell the instructions kindly? Regards, Art
        Hide
        Arata Yamamoto added a comment -

        Please never mind for my previous comment.
        I figured out how to apply the patch fro the attached sts-1672-patch.zip file onto Spring IDE.
        Thank you for the patch.
        Art

        Show
        Arata Yamamoto added a comment - Please never mind for my previous comment. I figured out how to apply the patch fro the attached sts-1672-patch.zip file onto Spring IDE. Thank you for the patch. Art
        Hide
        Michael Yockey added a comment -

        I'm experiencing this problem on the Win32 platform. Is there an update forthcoming for Spring IDE to correct this?

        Show
        Michael Yockey added a comment - I'm experiencing this problem on the Win32 platform. Is there an update forthcoming for Spring IDE to correct this?
        Hide
        Martin Lippert (c) added a comment -

        Hi Michael!

        You can upgrade to 2.7.0.M2 (the latest published milestone build of STS/Spring IDE) or wait for the 2.7.0 release of both, which is scheduled for the beginning of July.

        HTH,
        Martin

        Show
        Martin Lippert (c) added a comment - Hi Michael! You can upgrade to 2.7.0.M2 (the latest published milestone build of STS/Spring IDE) or wait for the 2.7.0 release of both, which is scheduled for the beginning of July. HTH, Martin

          People

          • Assignee:
            Christian Dupuis
            Reporter:
            Will Tran
          • Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              First Response Date: