facebook

Spring: Provider org.apache.xerces.jaxp.DocumentBuilderFacto

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #254370 Reply

    Seedless
    Member

    Hi folks,

    been starting MyEclipse an hour ago and cannot start any Spring Project anymore 🙁 Everytime I want to instantiate an application context i get this one:

    08.07.2006 16:58:43 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
    INFO: Loading XML bean definitions from class path resource [de/bitExpert/j2ee/bitUpdater/tests/config/applicationContext.xml]
    Exception in thread “main” javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDocumentBuilderFactory(XmlBeanDefinitionReader.java:250)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:217)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
    at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
    at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:81)
    at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:87)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:72)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:63)
    at de.bitExpert.j2ee.bitUpdater.tests.Program.main(Program.java:13)

    I can find the given package at all but DocumentBuilderFactoryImpl can be found in com.sun.org.apache.xerces.internal.jaxp Package of my Java 1.5.0_06 Runtime. 🙁 Why the hell does the BuilderFactory suddenly access the wrong package.

    I haven’t changed anything at all – no Runtime version changes nor modifications at the myeclipse installation 🙁

    Any help?

    Regards…
    Ollie

    #254373 Reply

    Haris Peco
    Member

    Ollie,

    I suppose that you have xercesImpl.jar (maybe broken, this file contents definition, but implementation class for document builder
    – check double your classpath

    Best regards

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Spring: Provider org.apache.xerces.jaxp.DocumentBuilderFacto

You must be logged in to post in the forum log in