Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 56684 invoked from network); 15 Jun 2010 15:31:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jun 2010 15:31:38 -0000 Received: (qmail 76568 invoked by uid 500); 15 Jun 2010 15:31:38 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 76452 invoked by uid 500); 15 Jun 2010 15:31:37 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 76444 invoked by uid 99); 15 Jun 2010 15:31:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 15:31:37 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 15:31:32 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OOY6Z-0001rt-Ai for users@camel.apache.org; Tue, 15 Jun 2010 08:31:11 -0700 Message-ID: <28892818.post@talk.nabble.com> Date: Tue, 15 Jun 2010 08:31:11 -0700 (PDT) From: ankelee To: users@camel.apache.org Subject: Re: Problems upgrading to the newest 2.4 SNAPSHOT. In-Reply-To: <4C179B1B.5080809@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: andreasasmuss@gmail.com References: <28892598.post@talk.nabble.com> <4C179B1B.5080809@gmail.com> 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.(ClassPathXmlApplicationContext.java:139) >> at >> org.springframework.context.support.ClassPathXmlApplicationContext.(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.