[ 
https://issues.apache.org/jira/browse/IGNITE-10608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714399#comment-16714399
 ] 

Ilya Kasnacheev commented on IGNITE-10608:
------------------------------------------

{code}
[10:57:29] Topology snapshot [ver=1, locNode=1b6293eb, servers=1, clients=0, 
state=ACTIVE, CPUs=8, offheap=6.3GB, heap=7.0GB]

>>> Added 8 Persons into the repository.

>>> Found Person [id=2, val=Person [id=2, orgId=2000, lastName=Pitt, 
>>> firstName=Brad, salary=16000.0, resume=Worked for Oracle]]

>>> Persons list for specific ids: 
   >>>   Person [id=1, orgId=2000, lastName=Smith, firstName=John, 
salary=15000.0, resume=Worked for Apple]
   >>>   Person [id=2, orgId=2000, lastName=Pitt, firstName=Brad, 
salary=16000.0, resume=Worked for Oracle]
   >>>   Person [id=3, orgId=1000, lastName=Tomson, firstName=Mark, 
salary=10000.0, resume=Worked for Sun]
   >>>   Person [id=4, orgId=2000, lastName=Smith, firstName=Erick, 
salary=13000.0, resume=Worked for Apple]

>>> Persons with name 'John':
   >>>   Person [id=1, orgId=2000, lastName=Smith, firstName=John, 
salary=15000.0, resume=Worked for Apple]
   >>>   Person [id=5, orgId=1000, lastName=Rozenberg, firstName=John, 
salary=25000.0, resume=Worked for RedHat]

>>> Top Person with surname 'Smith': Person [id=1, orgId=2000, lastName=Smith, 
>>> firstName=John, salary=15000.0, resume=Worked for Apple]

>>> Persons working for organization with ID > 1000: 
   >>>   [id=1]
   >>>   [id=2]
   >>>   [id=4]
   >>>   [id=6]

>>> Cleaning out the repository...

>>> Repository size: 0
[10:57:29] Ignite node stopped OK [name=springDataNode, uptime=00:00:00.493]
{code}

> SpringDataExample fails with java.lang.AbstractMethodError
> ----------------------------------------------------------
>
>                 Key: IGNITE-10608
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10608
>             Project: Ignite
>          Issue Type: Bug
>          Components: examples
>            Reporter: Sergey Kozlov
>            Priority: Major
>
> Open example project in IDEA, compile and run {{SpringDataExample}}:
> {noformat}
> [23:18:34] Topology snapshot [ver=1, locNode=d4e3a93b, servers=1, clients=0, 
> state=ACTIVE, CPUs=4, offheap=4.8GB, heap=5.3GB]
> [23:18:34] Ignite node stopped OK [name=springDataNode, uptime=00:00:00.120]
> Exception in thread "main" 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'personRepository': Initialization of bean failed; nested exception 
> is java.lang.AbstractMethodError
>       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564)
>       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>       at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
>       at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>       at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
>       at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
>       at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742)
>       at 
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
>       at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
>       at 
> org.apache.ignite.examples.springdata.SpringDataExample.igniteSpringDataInit(SpringDataExample.java:79)
>       at 
> org.apache.ignite.examples.springdata.SpringDataExample.main(SpringDataExample.java:52)
> Caused by: java.lang.AbstractMethodError
>       at 
> org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:99)
>       at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:302)
>       at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:129)
>       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1537)
>       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1284)
>       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
>       ... 10 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to