Hi!

Current problem doesn’t related to Ignite, I think that problem in spring, 
check your spring version and try to specify version of spring-beans schema 
directly (ex. spring-beans-3.1.xsd )


With best regards
Alisher Alimov
alimovalis...@gmail.com




> On 9 авг. 2016 г., at 17:39, chevy <chetan.v.ya...@target.com> wrote:
> 
> Hi,
> 
> When I start ignite node from my eclipse IDE it starts without any issues
> but when I export my code to jar and execute the code, I get below mentioned
> error. I am using same config even when I am running directly from IDE.
> 
> Error:
> 
> Exception in thread "main" class org.apache.ignite.IgniteException: Failed
> to instantiate Spring XML application context
> [springUrl=file:/opt/ignite/apache-ignite-fabric-1.6.0-bin/config/mpm-ignite.xml,
> err=Line 9 in XML document from URL
> [file:/opt/ignite/apache-ignite-fabric-1.6.0-bin/config/mpm-ignite.xml] is
> invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 9;
> columnNumber: 72; cvc-elt.1: Cannot find the declaration of element
> 'beans'.]
> 
> 
> Config:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> 
> <beans xmlns="http://www.springframework.org/schema/beans";
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xsi:schemaLocation="http://www.springframework.org/schema/beans
>        http://www.springframework.org/schema/beans/spring-beans.xsd";>
> 
>    <import resource="mpm-default.xml"/>
> 
>    <bean parent="ignite.cfg"/>
> </beans>
> 
> 
> 
> 
> --
> View this message in context: 
> http://apache-ignite-users.70518.x6.nabble.com/IgniteException-on-starting-node-from-Jar-tp6881.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to