Hi, The log you provided contatins the following exception: - java.lang.ClassNotFoundException: org.apache.ignite.configuration.PersistentStoreConfiguration
It seems that Ignite libs are not not present in the CLASSPATH. Please, be sure that '{ignite-release}/libs/', '{ignite-release}/libs/ignite-spring' and '{ignite-release}/libs/ignite-indexing' directories are present in your CLASSPATH. Thanks. 2017-08-01 9:47 GMT+03:00 devkumar <dev...@gmail.com>: > Hi, > I am unable to start server with durable memory enable. I am getting the > following error :- > > class org.apache.ignite.IgniteException: Failed to instantiate Spring XML > application context (make sure all classes used in Spring configuration are > present at CLASSPATH) > [springUrl=file:/Users/dkumar9/Desktop/IgniteCluster/ > apache-ignite-fabric-2.1.0-bin/bin/../examples/config/ > persistentstore/example-persistent-store.xml] > at > org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils. > java:949) > at org.apache.ignite.Ignition.start(Ignition.java:350) > at > org.apache.ignite.startup.cmdline.CommandLineStartup. > main(CommandLineStartup.java:302) > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to > instantiate Spring XML application context (make sure all classes used in > Spring configuration are present at CLASSPATH) > [springUrl=file:/Users/dkumar9/Desktop/IgniteCluster/ > apache-ignite-fabric-2.1.0-bin/bin/../examples/config/ > persistentstore/example-persistent-store.xml] > at > org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl. > applicationContext(IgniteSpringHelperImpl.java:387) > at > org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl. > loadConfigurations(IgniteSpringHelperImpl.java:104) > at > org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl. > loadConfigurations(IgniteSpringHelperImpl.java:98) > at > org.apache.ignite.internal.IgnitionEx.loadConfigurations( > IgnitionEx.java:668) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx. > java:869) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx. > java:778) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx. > java:648) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx. > java:617) > at org.apache.ignite.Ignition.start(Ignition.java:347) > ... 1 more > Caused by: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'ignite.cfg' defined in URL > [file:/Users/dkumar9/Desktop/IgniteCluster/apache-ignite- > fabric-2.1.0-bin/bin/../examples/config/persistentstore/example- > persistent-store.xml]: > Cannot create inner bean > 'org.apache.ignite.configuration.PersistentStoreConfiguration#23e028a9' of > type [org.apache.ignite.configuration.PersistentStoreConfiguration] while > setting bean property 'persistentStoreConfiguration'; nested exception is > org.springframework.beans.factory.CannotLoadBeanClassException: Cannot > find > class [org.apache.ignite.configuration.PersistentStoreConfiguration] for > bean with name > 'org.apache.ignite.configuration.PersistentStoreConfiguration#23e028a9' > defined in URL > [file:/Users/dkumar9/Desktop/IgniteCluster/apache-ignite- > fabric-2.1.0-bin/bin/../examples/config/persistentstore/example- > persistent-store.xml]; > nested exception is java.lang.ClassNotFoundException: > org.apache.ignite.configuration.PersistentStoreConfiguration > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver. > resolveInnerBean(BeanDefinitionValueResolver.java:313) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver. > resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > tory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1531) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > tory.populateBean(AbstractAutowireCapableBeanFactory.java:1276) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > tory.createBean(AbstractAutowireCapableBeanFactory.java:483) > at > org.springframework.beans.factory.support.AbstractBeanFactory$1. > getObject(AbstractBeanFactory.java:306) > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry. > getSingleton(DefaultSingletonBeanRegistry.java:230) > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean( > AbstractBeanFactory.java:302) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean( > AbstractBeanFactory.java:197) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory. > preInstantiateSingletons(DefaultListableBeanFactory.java:761) > at > org.springframework.context.support.AbstractApplicationContext. > finishBeanFactoryInitialization(AbstractApplicationContext.java:866) > at > org.springframework.context.support.AbstractApplicationContext.refresh( > AbstractApplicationContext.java:542) > at > org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl. > applicationContext(IgniteSpringHelperImpl.java:381) > ... 9 more > Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: > Cannot find class > [org.apache.ignite.configuration.PersistentStoreConfiguration] for bean > with > name 'org.apache.ignite.configuration.PersistentStoreConfiguration# > 23e028a9' > defined in URL > [file:/Users/dkumar9/Desktop/IgniteCluster/apache-ignite- > fabric-2.1.0-bin/bin/../examples/config/persistentstore/example- > persistent-store.xml]; > nested exception is java.lang.ClassNotFoundException: > org.apache.ignite.configuration.PersistentStoreConfiguration > at > org.springframework.beans.factory.support.AbstractBeanFactory. > resolveBeanClass(AbstractBeanFactory.java:1385) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac > tory.createBean(AbstractAutowireCapableBeanFactory.java:456) > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver. > resolveInnerBean(BeanDefinitionValueResolver.java:299) > ... 22 more > Caused by: java.lang.ClassNotFoundException: > org.apache.ignite.configuration.PersistentStoreConfiguration > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > at org.springframework.util.ClassUtils.forName(ClassUtils. > java:250) > at > org.springframework.beans.factory.support.AbstractBeanDefinition. > resolveBeanClass(AbstractBeanDefinition.java:401) > at > org.springframework.beans.factory.support.AbstractBeanFactory. > doResolveBeanClass(AbstractBeanFactory.java:1432) > at > org.springframework.beans.factory.support.AbstractBeanFactory. > resolveBeanClass(AbstractBeanFactory.java:1377) > ... 24 more > Failed to start grid: Failed to instantiate Spring XML application context > (make sure all classes used in Spring configuration are present at > CLASSPATH) > [springUrl=file:/Users/dkumar9/Desktop/IgniteCluster/ > apache-ignite-fabric-2.1.0-bin/bin/../examples/config/ > persistentstore/example-persistent-store.xml] > Note! You may use 'USER_LIBS' environment variable to specify your > classpath. > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/Unable-to-start-2-1-with-durable-memory-tp15841.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >