Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neo4j OGM in OSGi Environment #132

Closed
buchgeher opened this issue Mar 8, 2016 · 4 comments
Closed

Neo4j OGM in OSGi Environment #132

buchgeher opened this issue Mar 8, 2016 · 4 comments

Comments

@buchgeher
Copy link

Hi,

I'm trying to get Spring Data Neo4j with Neo4j-OGM working in an OSGi environment (Equinox). I have a small example that works as a non-OSGi example. However, when running the example as an OSGi bundle, I am getting some ServiceNotFound exceptions (see below) during the wiring process. I have included all dependencies directly in my OSGi bundle and reference them in the bundle Manifest file.

Any help on my issue would be appreciated. I can also share my small example.

15:54:36.238 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Found Equinox FileLocator for OSGi bundle URL resolution
15:54:36.331 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
15:54:36.331 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
15:54:36.331 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
15:54:36.378 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
15:54:36.378 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - JSR-330 'javax.inject.Named' annotation found and supported for component scanning
15:54:36.425 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.s.c.a.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@72eb7ea2: startup date [Tue Mar 08 15:54:36 CET 2016]; root of context hierarchy
15:54:36.425 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.AnnotationConfigApplicationContext - Bean factory for org.springframework.context.annotation.AnnotationConfigApplicationContext@72eb7ea2: org.springframework.beans.factory.support.DefaultListableBeanFactory@197f6d51: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,appConfig]; root of factory hierarchy
15:54:36.425 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
15:54:36.425 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
15:54:36.441 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' to allow for resolving potential circular references
15:54:36.441 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
15:54:36.456 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
15:54:36.456 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
15:54:36.456 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
15:54:36.456 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
15:54:36.456 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - JSR-330 'javax.inject.Named' annotation found and supported for component scanning
15:54:36.582 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest]
15:54:36.582 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest] for files matching pattern [D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/bin/standalonetest//*.class]
15:54:36.582 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\domain] for files matching pattern [D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/bin/standalonetest/
/.class]
15:54:36.582 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\osgi] for files matching pattern [D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/bin/standalonetest/__/
.class]
15:54:36.582 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\repository] for files matching pattern [D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/bin/standalonetest//*.class]
15:54:36.582 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\tmp] for files matching pattern [D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/bin/standalonetest/
/.class]
15:54:36.582 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath
:standalonetest//.class] to resources [file [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\AppConfig.class], file [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\domain\Person.class], file [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\osgi\Activator.class], file [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\repository\PersonRepository.class], file [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\tmp\HelloBean.class]]
15:54:36.598 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - Identified candidate component class: file [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\tmp\HelloBean.class]
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registered bean definition for imported class 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration'
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @bean method org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration.org.springframework.transaction.config.internalTransactionAdvisor()
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @bean method org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration.transactionAttributeSource()
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @bean method org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration.transactionInterceptor()
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @bean method standalonetest.AppConfig.getSessionFactory()
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @bean method standalonetest.AppConfig.neo4jMappingContext()
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @bean method standalonetest.AppConfig.persistenceExceptionTranslator()
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @bean method standalonetest.AppConfig.translationInterceptor()
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @bean method standalonetest.AppConfig.transactionManager()
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @bean method standalonetest.AppConfig.getSession()
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @bean method standalonetest.AppConfig.neo4jTemplate()
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @bean method standalonetest.AppConfig.persistenceExceptionTranslationPostProcessor()
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
15:54:36.629 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
15:54:36.722 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in jar file [file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar]
15:54:36.722 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in jar file [file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-neo4j-4.1.0.M1.jar]
15:54:36.722 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in jar file [file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar]
15:54:36.723 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in jar file [file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-neo4j-4.1.0.M1.jar]
15:54:36.723 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath
:org/springframework/data/
/repository/support//*.class] to resources [URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/AnnotationAttribute.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/CrudRepositoryInvoker.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/DefaultRepositoryInvokerFactory.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/DomainClassConverter$1.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/DomainClassConverter$ConversionMatchAbbreviationException.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/DomainClassConverter$ToEntityConverter.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/DomainClassConverter$ToIdConverter.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/DomainClassConverter.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/DomainClassPropertyEditor.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/DomainClassPropertyEditorRegistrar.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/MethodParameters$AnnotationNamingMethodParameter.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/MethodParameters.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/PagingAndSortingRepositoryInvoker.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/QueryMethodParameterConversionException.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/ReflectionRepositoryInvoker.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/Repositories$EmptyRepositoryFactoryInformation.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/Repositories.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/RepositoryInvocationInformation.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/RepositoryInvoker.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-commons-1.12.0.M1.jar!/org/springframework/data/repository/support/RepositoryInvokerFactory.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-neo4j-4.1.0.M1.jar!/org/springframework/data/neo4j/repository/support/GraphEntityInformation.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-neo4j-4.1.0.M1.jar!/org/springframework/data/neo4j/repository/support/GraphRepositoryFactory.class], URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-neo4j-4.1.0.M1.jar!/org/springframework/data/neo4j/repository/support/GraphRepositoryFactoryBean.class]]
15:54:36.755 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ClassPathScanningCandidateComponentProvider - Identified candidate component class: URL [jar:file:/D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/lib/spring-data-neo4j-4.1.0.M1.jar!/org/springframework/data/neo4j/repository/support/GraphRepositoryFactory.class]
15:54:36.770 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
15:54:36.770 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
15:54:36.770 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
15:54:36.848 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\repository]
15:54:36.848 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\repository] for files matching pattern [D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/bin/standalonetest/repository/
/.class]
15:54:36.848 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath
:standalonetest/repository//*.class] to resources [file [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\repository\PersonRepository.class]]
15:54:36.848 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.d.r.c.RepositoryComponentProvider - Identified candidate component class: file [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\repository\PersonRepository.class]
15:54:36.864 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
15:54:36.864 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
15:54:36.864 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
15:54:36.926 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\repository]
15:54:36.926 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [D:\Eclipse\Workspaces\SpringNeo4J\standalone.osgi\bin\standalonetest\repository] for files matching pattern [D:/Eclipse/Workspaces/SpringNeo4J/standalone.osgi/bin/standalonetest/repository/
/PersonRepositoryImpl.class]
15:54:36.926 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath
:standalonetest/repository/*_/_PersonRepositoryImpl.class] to resources []
15:54:36.942 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.d.r.c.RepositoryConfigurationDelegate - Spring Data Neo4j - Registering repository: personRepository - Interface: standalonetest.repository.PersonRepository - Factory: org.springframework.data.neo4j.repository.support.GraphRepositoryFactoryBean
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassEnhancer - Successfully enhanced standalonetest.AppConfig; enhanced class name is: standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassPostProcessor - Replacing bean definition 'appConfig' existing class name 'standalonetest.AppConfig' with enhanced class name 'standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4'
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassEnhancer - Successfully enhanced org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration; enhanced class name is: org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ae9b2e13
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.ConfigurationClassPostProcessor - Replacing bean definition 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' existing class name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' with enhanced class name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ae9b2e13'
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' to allow for resolving potential circular references
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' to allow for resolving potential circular references
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
15:54:37.004 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' to allow for resolving potential circular references
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' to allow for resolving potential circular references
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor' to allow for resolving potential circular references
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor' to allow for resolving potential circular references
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'persistenceExceptionTranslationPostProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'persistenceExceptionTranslationPostProcessor'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'appConfig'
15:54:37.020 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'appConfig'
15:54:37.035 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4]: ResourceElement for private org.springframework.core.env.Environment org.springframework.data.neo4j.config.Neo4jConfiguration.environment
15:54:37.035 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'appConfig' to allow for resolving potential circular references
15:54:37.191 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'appConfig': ResourceElement for private org.springframework.core.env.Environment org.springframework.data.neo4j.config.Neo4jConfiguration.environment
15:54:37.191 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'environment'
15:54:37.191 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'appConfig' of type [class standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
15:54:37.191 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'appConfig'
15:54:37.192 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.s.d.n.config.Neo4jConfiguration - Initialising PersistenceExceptionTranslationPostProcessor
15:54:37.192 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'persistenceExceptionTranslationPostProcessor' to allow for resolving potential circular references
15:54:37.380 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'persistenceExceptionTranslationPostProcessor'
15:54:37.380 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.aop.config.internalAutoProxyCreator'
15:54:37.380 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.aop.config.internalAutoProxyCreator'
15:54:37.380 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.aop.config.internalAutoProxyCreator' to allow for resolving potential circular references
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.aop.config.internalAutoProxyCreator'
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.AnnotationConfigApplicationContext - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@29d7b0a5]
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.c.a.AnnotationConfigApplicationContext - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@393b9078]
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@197f6d51: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,appConfig,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor,helloBean,org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration,org.springframework.transaction.config.internalTransactionAdvisor,transactionAttributeSource,transactionInterceptor,getSessionFactory,neo4jMappingContext,persistenceExceptionTranslator,translationInterceptor,transactionManager,getSession,neo4jTemplate,persistenceExceptionTranslationPostProcessor,org.springframework.data.neo4j.repository.config.Neo4jRepositoryConfigurationExtension#0,org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor,personRepository,org.springframework.aop.config.internalAutoProxyCreator]; root of factory hierarchy
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'appConfig'
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'helloBean'
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'helloBean'
15:54:37.520 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'helloBean' to allow for resolving potential circular references
15:54:37.567 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
15:54:37.567 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.transaction.config.internalTransactionAdvisor'
15:54:37.567 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration'
15:54:37.567 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration'
15:54:37.677 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ae9b2e13]: AutowiredMethodElement for void org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration.setConfigurers(java.util.Collection)
15:54:37.677 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' to allow for resolving potential circular references
15:54:37.678 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration': AutowiredMethodElement for void org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration.setConfigurers(java.util.Collection)
15:54:37.681 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry'
15:54:37.681 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.a.f.a.BeanFactoryAdvisorRetrievalHelper - Skipping currently created advisor 'org.springframework.transaction.config.internalTransactionAdvisor'
15:54:37.683 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration'
15:54:37.696 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'transactionAttributeSource'
15:54:37.696 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'transactionAttributeSource'
15:54:37.696 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration'
15:54:37.744 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'transactionAttributeSource' to allow for resolving potential circular references
15:54:37.830 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.a.f.a.BeanFactoryAdvisorRetrievalHelper - Skipping currently created advisor 'org.springframework.transaction.config.internalTransactionAdvisor'
15:54:37.831 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'transactionAttributeSource'
15:54:37.831 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'transactionInterceptor'
15:54:37.831 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'transactionInterceptor'
15:54:37.831 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration'
15:54:37.839 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'transactionAttributeSource'
15:54:37.842 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'transactionInterceptor' to allow for resolving potential circular references
15:54:37.951 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Invoking afterPropertiesSet() on bean with name 'transactionInterceptor'
15:54:37.951 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'transactionInterceptor'
15:54:37.951 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.transaction.config.internalTransactionAdvisor' to allow for resolving potential circular references
15:54:38.091 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.transaction.config.internalTransactionAdvisor'
15:54:38.091 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'helloBean'
15:54:38.091 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration'
15:54:38.091 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
15:54:38.091 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'transactionAttributeSource'
15:54:38.091 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'transactionInterceptor'
15:54:38.091 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'getSessionFactory'
15:54:38.091 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'getSessionFactory'
15:54:38.107 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'appConfig'
15:54:38.123 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.neo4j.ogm.scanner.ClassPathScanner - Classpath elements:
15:54:38.123 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.n.ogm.metadata.ClassFileProcessor - Starting Post-processing phase
15:54:38.123 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.n.ogm.metadata.ClassFileProcessor - Building annotation class map
15:54:38.123 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.n.ogm.metadata.ClassFileProcessor - Building interface class map for 0 classes
15:54:38.123 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.n.ogm.metadata.ClassFileProcessor - Registering default type converters...
15:54:38.123 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.n.ogm.metadata.ClassFileProcessor - Checking for @transient classes....
15:54:38.123 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.n.ogm.metadata.ClassFileProcessor - Post-processing complete
15:54:38.123 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.n.ogm.metadata.ClassFileProcessor - 0 classes loaded in 16 milliseconds
15:54:38.123 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'getSessionFactory' to allow for resolving potential circular references
15:54:38.169 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
15:54:38.169 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'getSessionFactory'
15:54:38.169 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'neo4jMappingContext'
15:54:38.169 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'neo4jMappingContext'
15:54:38.169 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'appConfig'
15:54:38.169 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'getSessionFactory'
15:54:38.169 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.s.d.n.mapping.Neo4jMappingContext - Neo4jMappingContext initialisation completed
15:54:38.185 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'neo4jMappingContext' to allow for resolving potential circular references
15:54:38.279 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Invoking afterPropertiesSet() on bean with name 'neo4jMappingContext'
15:54:38.279 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
15:54:38.279 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'neo4jMappingContext'
15:54:38.279 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'persistenceExceptionTranslator'
15:54:38.279 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'persistenceExceptionTranslator'
15:54:38.279 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'appConfig'
15:54:38.279 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.s.d.n.config.Neo4jConfiguration - Initialising PersistenceExceptionTranslator
15:54:38.279 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'persistenceExceptionTranslator' to allow for resolving potential circular references
15:54:38.404 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'persistenceExceptionTranslator'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'translationInterceptor'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'translationInterceptor'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'appConfig'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.s.d.n.config.Neo4jConfiguration - Initialising PersistenceExceptionTranslationInterceptor
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'persistenceExceptionTranslator'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'translationInterceptor' to allow for resolving potential circular references
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Invoking afterPropertiesSet() on bean with name 'translationInterceptor'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'translationInterceptor'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'transactionManager'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'transactionManager'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'appConfig'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.s.d.n.config.Neo4jConfiguration - Initialising Neo4jTransactionManager
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'getSession'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'getSession'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'appConfig'
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] INFO o.s.d.n.config.Neo4jConfiguration - Initialising Neo4jSession
15:54:38.420 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'getSessionFactory'
15:54:38.436 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG org.neo4j.ogm.service.Components - Trying to configure from ogm.properties
15:54:38.451 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] WARN org.neo4j.ogm.service.Components - Could not autoconfigure the OGM
15:54:38.560 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] WARN o.s.c.a.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in standalonetest.AppConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.transaction.PlatformTransactionManager]: Factory method 'transactionManager' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getSession' defined in standalonetest.AppConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.session.Session]: Factory method 'getSession' threw exception; nested exception is org.neo4j.ogm.exception.ServiceNotFoundException
15:54:38.560 [Start Level: Equinox Container: 50a66bac-3de5-0015-10b3-da4e47f4d18c] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@197f6d51: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,appConfig,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor,helloBean,org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration,org.springframework.transaction.config.internalTransactionAdvisor,transactionAttributeSource,transactionInterceptor,getSessionFactory,neo4jMappingContext,persistenceExceptionTranslator,translationInterceptor,transactionManager,getSession,neo4jTemplate,persistenceExceptionTranslationPostProcessor,org.springframework.data.neo4j.repository.config.Neo4jRepositoryConfigurationExtension#0,org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor,personRepository,org.springframework.aop.config.internalAutoProxyCreator]; root of factory hierarchy
!SESSION 2016-03-08 15:54:34.786 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.8.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.platform.ide
Command-line arguments: -product org.eclipse.platform.ide -data D:\Eclipse\Workspaces\SpringNeo4J/../runtime-New_configuration(4) -dev file:D:/Eclipse/Workspaces/SpringNeo4J/.metadata/.plugins/org.eclipse.pde.core/New_configuration (4)/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog -console

!ENTRY standalone.osgi 4 0 2016-03-08 15:54:38.576
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in standalonetest.osgi.Activator.start() of bundle standalone.osgi.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319)
at org.eclipse.osgi.container.Module.doStart(Module.java:571)
at org.eclipse.osgi.container.Module.start(Module.java:439)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in standalonetest.AppConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.transaction.PlatformTransactionManager]: Factory method 'transactionManager' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getSession' defined in standalonetest.AppConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.session.Session]: Factory method 'getSession' threw exception; nested exception is org.neo4j.ogm.exception.ServiceNotFoundException
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1012)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.(AnnotationConfigApplicationContext.java:84)
at standalonetest.osgi.Activator.execute(Activator.java:32)
at standalonetest.osgi.Activator.start(Activator.java:26)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)
... 12 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.transaction.PlatformTransactionManager]: Factory method 'transactionManager' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getSession' defined in standalonetest.AppConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.session.Session]: Factory method 'getSession' threw exception; nested exception is org.neo4j.ogm.exception.ServiceNotFoundException
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 30 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getSession' defined in standalonetest.AppConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.session.Session]: Factory method 'getSession' threw exception; nested exception is org.neo4j.ogm.exception.ServiceNotFoundException
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1012)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322)
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4.getSession()
at org.springframework.data.neo4j.config.Neo4jConfiguration.transactionManager(Neo4jConfiguration.java:90)
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4.CGLIB$transactionManager$4()
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4$$FastClassBySpringCGLIB$$4d196b0a.invoke()
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4.transactionManager()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 31 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.session.Session]: Factory method 'getSession' threw exception; nested exception is org.neo4j.ogm.exception.ServiceNotFoundException
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 52 more
Caused by: org.neo4j.ogm.exception.ServiceNotFoundException
at org.neo4j.ogm.service.DriverService.load(DriverService.java:51)
at org.neo4j.ogm.service.DriverService.load(DriverService.java:63)
at org.neo4j.ogm.service.Components.loadDriver(Components.java:128)
at org.neo4j.ogm.service.Components.driver(Components.java:86)
at org.neo4j.ogm.session.SessionFactory.openSession(SessionFactory.java:79)
at org.springframework.data.neo4j.config.Neo4jConfiguration.getSession(Neo4jConfiguration.java:56)
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4.CGLIB$getSession$5()
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4$$FastClassBySpringCGLIB$$4d196b0a.invoke()
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4.getSession()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 53 more
Root exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in standalonetest.AppConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.transaction.PlatformTransactionManager]: Factory method 'transactionManager' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getSession' defined in standalonetest.AppConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.session.Session]: Factory method 'getSession' threw exception; nested exception is org.neo4j.ogm.exception.ServiceNotFoundException
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1012)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.(AnnotationConfigApplicationContext.java:84)
at standalonetest.osgi.Activator.execute(Activator.java:32)
at standalonetest.osgi.Activator.start(Activator.java:26)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319)
at org.eclipse.osgi.container.Module.doStart(Module.java:571)
at org.eclipse.osgi.container.Module.start(Module.java:439)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.transaction.PlatformTransactionManager]: Factory method 'transactionManager' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getSession' defined in standalonetest.AppConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.session.Session]: Factory method 'getSession' threw exception; nested exception is org.neo4j.ogm.exception.ServiceNotFoundException
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 30 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getSession' defined in standalonetest.AppConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.session.Session]: Factory method 'getSession' threw exception; nested exception is org.neo4j.ogm.exception.ServiceNotFoundException
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1012)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322)
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4.getSession()
at org.springframework.data.neo4j.config.Neo4jConfiguration.transactionManager(Neo4jConfiguration.java:90)
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4.CGLIB$transactionManager$4()
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4$$FastClassBySpringCGLIB$$4d196b0a.invoke()
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4.transactionManager()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 31 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.session.Session]: Factory method 'getSession' threw exception; nested exception is org.neo4j.ogm.exception.ServiceNotFoundException
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 52 more
Caused by: org.neo4j.ogm.exception.ServiceNotFoundException
at org.neo4j.ogm.service.DriverService.load(DriverService.java:51)
at org.neo4j.ogm.service.DriverService.load(DriverService.java:63)
at org.neo4j.ogm.service.Components.loadDriver(Components.java:128)
at org.neo4j.ogm.service.Components.driver(Components.java:86)
at org.neo4j.ogm.session.SessionFactory.openSession(SessionFactory.java:79)
at org.springframework.data.neo4j.config.Neo4jConfiguration.getSession(Neo4jConfiguration.java:56)
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4.CGLIB$getSession$5()
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4$$FastClassBySpringCGLIB$$4d196b0a.invoke()
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
at standalonetest.AppConfig$$EnhancerBySpringCGLIB$$c47792a4.getSession()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 53 more
osgi> 15:54:39.496 [Finalizer] DEBUG o.a.h.i.c.PoolingHttpClientConnectionManager - Connection manager is shutting down
15:54:39.496 [Finalizer] DEBUG o.a.h.i.c.PoolingHttpClientConnectionManager - Connection manager shut down

@vince-bickers
Copy link

The OGM driver is loaded using the Service Loader mechanism. There are two requirements for this to work. Firstly, all drivers are enumerated in META-INF/services in the OGM jar files. This resource must be available in your classpath. Secondly, unless you are programmatically configuring the OGM, the driver to use should be specified in a file called ogm.properties, which must also be on the classpath.

https://github.com/neo4j/neo4j-ogm/blob/2.0/neo4j-ogm-docs/src/main/asciidoc/reference/setup.adoc

@buchgeher
Copy link
Author

Taking a programmatic configuration approach resolves my issue. However, when I try to save my model. I am getting a warning that my object is not an instance of a persistable class: org.neo4j.ogm.session.Neo4jSession - standalonetest.domain.Person is not an instance of a persistable class
My domain object is annotated and I am setting the package name in the constructor of the SessionFactory.

@ratshidaho
Copy link

Is it not related to #211?

@michael-simons
Copy link
Collaborator

I'm gonna close this issue due to inactivity, on both sides.

Feel free to open a new issue, if this still persists, probably with a short reproducer (example project).

Thanks a lot for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants