There is some problems in the jars that ships with 2.0.1.
A new 2.0.2 will be out shortly.
In the mean time, you can add the following jar in your lib directory:
http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-1.3.02.jar
Cheers,
Guillaume Nodet
J Workshop wrote:
I just downloaded ServiceMix 2.0.1 and when I tried to start it:
D:\servicemix-2.0.1\bin>servicemix
ServiceMix ESB: 2.0.1
Loading ServiceMix from servicemix.xml on the CLASSPATH
Exception in thread "main" java.lang.NoClassDefFoundError:
org/w3c/dom/DOMError
at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown
Source)
at
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown
Source)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDocumentBuilder(XmlBeanDefinitionReader.java:218)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:155)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:125)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:141)
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
at
org.xbean.spring.context.ClassPathXmlApplicationContext.loadBeanDefinitions(ClassPathXmlApplicationContext.java:170)
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:268)
at
org.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:158)
at
org.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:48)
at org.servicemix.Main.main(Main.java:50)
D:\servicemix-2.0.1\bin>
What is missing? I have no problem to start 1.1 version.
J
------------------------------------------------------------------------
Yahoo! FareChase - Search multiple travel sites in one click.
<http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/>