camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ankelee <andreasasm...@gmail.com>
Subject Re: Problems upgrading to the newest 2.4 SNAPSHOT.
Date Tue, 15 Jun 2010 15:31:11 GMT

Hi Willem

I don't really feel like setting that up. Will this reconstruction be
completed anytime soon?

- Andreas



willem.jiang wrote:
> 
> Hi,
> 
> There are some reconstruction changes about share the common code 
> between the camel-spring and camel-blueprint in the camel trunk.
> 
> If you want to try out the Camel 2.4 SNAPSHOT, you'd better build the 
> code from trunk from scratch.
> 
> Willem
> 
> ankelee wrote:
>> Hi
>> 
>> I have been running Camel 2.3 but with a camel-core 2.4 snapshot jar from
>> about a week ago. I'm now trying to test the newest 2.4 but now I get XML
>> parse exceptions. Did some fundamental dependency change? I can't find
>> any
>> dependency tree for 2.4 and I don't use Maven.
>> 
>> 
>> Exception in thread "main"
>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>> Configuration problem: Failed to import bean definitions from relative
>> location [opsig-camelcontext.xml]
>> Offending resource: class path resource [isuite-client-context.xml];
>> nested
>> exception is
>> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
>> Line
>> 464 in XML document from class path resource [opsig-camelcontext.xml] is
>> invalid; nested exception is org.xml.sax.SAXParseException: src-ct.2.1:
>> Complex Type Definition Representation Error for type
>> 'descriptionDefinition'.  When simpleContent is used, the base type must
>> be
>> a complexType whose content type is simple, or, only if restriction is
>> specified, a complex type with mixed content and emptiable particle, or,
>> only if extension is specified, a simple type.
>> 	at
>> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
>> 	at
>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>> 	at
>> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
>> 	at
>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:219)
>> 	at
>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:148)
>> 	at
>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:133)
>> 	at
>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
>> 	at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
>> 	at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
>> 	at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
>> 	at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>> 	at
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
>> 	at
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
>> 	at
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
>> 	at
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:212)
>> 	at
>> org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:126)
>> 	at
>> org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:92)
>> 	at
>> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>> 	at
>> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:458)
>> 	at
>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:388)
>> 	at
>> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
>> 	at
>> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
>> 	at
>> org.apache.camel.spring.Main.createDefaultApplicationContext(Main.java:219)
>> 	at org.apache.camel.spring.Main.doStart(Main.java:173)
>> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:56)
>> 	at dk.profac.isuiteclient.StartUp.main(StartUp.java:19)
>> Caused by:
>> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
>> Line
>> 464 in XML document from class path resource [opsig-camelcontext.xml] is
>> invalid; nested exception is org.xml.sax.SAXParseException: src-ct.2.1:
>> Complex Type Definition Representation Error for type
>> 'descriptionDefinition'.  When simpleContent is used, the base type must
>> be
>> a complexType whose content type is simple, or, only if restriction is
>> specified, a complex type with mixed content and emptiable particle, or,
>> only if extension is specified, a simple type.
>> 	at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
>> 	at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
>> 	at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>> 	at
>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:203)
>> 	... 22 more
>> Caused by: org.xml.sax.SAXParseException: src-ct.2.1: Complex Type
>> Definition Representation Error for type 'descriptionDefinition'.  When
>> simpleContent is used, the base type must be a complexType whose content
>> type is simple, or, only if restriction is specified, a complex type with
>> mixed content and emptiable particle, or, only if extension is specified,
>> a
>> simple type.
>> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>> 	at
>> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
>> 	at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
>> 	... 25 more
>> 
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Problems-upgrading-to-the-newest-2.4-SNAPSHOT.-tp28892598p28892818.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message