Skip to content

NameError: missing class name (`org.neo4j.graphdb.factory.GraphDatabaseFactory') #337

@l7x

Description

@l7x

I'm getting this error with basic embedded example:

NameError: missing class name (`org.neo4j.graphdb.factory.GraphDatabaseFactory')
from org/jruby/javasupport/JavaPackage.java:124:in `const_missing'

I followed the documentation, but I'm not sure if I need to install anything else manually or everything should be already bundled.

Code example:

require 'neo4j/core/cypher_session/adaptors/embedded'
neo4j_adaptor = Neo4j::Core::CypherSession::Adaptors::Embedded.new('/tmp/graph.db')
neo4j_session = Neo4j::Core::CypherSession.new(neo4j_adaptor)

Runtime information:

jruby 9.2.9.0 on linux
Neo4j database version: embedded
neo4j gem version: neo4j-9.6.1.gem
neo4j-core gem version: neo4j-core-9.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions