I have a problem with SessionFactory bean package scanning … my application is using spring boot and spring data neo4j … If I run the app via spring boot , everything works fine and all of my bean classes get loaded in the session factory without any problem. The problem shows up when I use the docker deployment version… for some reasons the packages are not loaded properly in “org.neo4j.ogm.metadata.DomainInfo” class … So the classNameToClassInfo map remains empty after initialization. In other words “return new SessionFactory(getConfiguration(), "XXX.XXX.XXX.beans");” does not work for docker deployment version.
has anyone ever had a similar issue ? any idea?
Neo4jSession is not an instance of a persistable class
- for SEO, guys cause it was very hard to find a damn answer – Alex