- This topic has 1 reply, 2 voices, and was last updated 18 years, 6 months ago by Haris Peco.
-
AuthorPosts
-
SeedlessMemberHi 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
Haris PecoMemberOllie,
I suppose that you have xercesImpl.jar (maybe broken, this file contents definition, but implementation class for document builder
– check double your classpathBest regards
-
AuthorPosts