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

Error starting server: NoSuchMethodError: org.neo4j.kernel.Config.getGraphDbModule()Lorg/neo4j/kernel/impl/core/GraphDbModule #2

Open
pehrlich opened this issue Mar 31, 2012 · 3 comments

Comments

@pehrlich
Copy link

Setting up on an app with rails 3.2.2 and neo4jrb 2.0.0 alpha. What's this mean?

On running rails s:

Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Starting Neo Server on port [7474] with [80] threads available
2012-03-31 11:47:35.112:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Using database at /Users/peter/Rails/zendestiny/db/neo4j-development
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
WARNING: No database tuning properties set in the property file, using defaults. Please specify the performance properties file with org.neo4j.server.db.tuning.properties in the server properties file [null].
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Mounted discovery module at [/]
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Loaded server plugin "CypherPlugin"
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Loaded server plugin "GremlinPlugin"
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Mounted REST API at [/db/data]
Mar 31, 2012 11:47:35 AM org.neo4j.server.logging.Logger log
INFO: Mounted management API at [/db/manage]
Exiting
NativeException: java.lang.NoSuchMethodError: org.neo4j.kernel.Config.getGraphDbModule()Lorg/neo4j/kernel/impl/core/GraphDbModule;
        Neo4jAdmin at /Users/peter/.rvm/gems/jruby-1.6.7/gems/neo4j-admin-0.0.2-java/lib/neo4j-admin/railtie.rb:8
              call at org/jruby/RubyProc.java:258
      execute_hook at /Users/peter/.rvm/gems/jruby-1.6.7/gems/activesupport-3.2.2/lib/active_support/lazy_load_hooks.rb:34
    run_load_hooks at /Users/peter/.rvm/gems/jruby-1.6.7/gems/activesupport-3.2.2/lib/active_support/lazy_load_hooks.rb:43
              each at org/jruby/RubyArray.java:1615
    run_load_hooks at /Users/peter/.rvm/gems/jruby-1.6.7/gems/activesupport-3.2.2/lib/active_support/lazy_load_hooks.rb:42
          Finisher at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/application/finisher.rb:59
     instance_exec at org/jruby/RubyBasicObject.java:1757
               run at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/initializable.rb:30
  run_initializers at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/initializable.rb:55
              each at org/jruby/RubyArray.java:1615
  run_initializers at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/initializable.rb:54
       initialize! at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/application.rb:136
          __send__ at org/jruby/RubyBasicObject.java:1698
              send at org/jruby/RubyKernel.java:2097
    method_missing at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/railtie/configurable.rb:30
            (root) at /Users/peter/Rails/zendestiny/config/environment.rb:5
           require at org/jruby/RubyKernel.java:1042
           require at /Users/peter/.rvm/gems/jruby-1.6.7/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251
   load_dependency at /Users/peter/.rvm/gems/jruby-1.6.7/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:236
           require at /Users/peter/.rvm/gems/jruby-1.6.7/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251
        parse_file at /Users/peter/Rails/zendestiny/config/environment.rb:4
     instance_eval at org/jruby/RubyBasicObject.java:1730
        initialize at /Users/peter/.rvm/gems/jruby-1.6.7/gems/rack-1.4.1/lib/rack/builder.rb:51
        parse_file at /Users/peter/Rails/zendestiny/config.ru:1
              eval at org/jruby/RubyKernel.java:1088
        parse_file at /Users/peter/.rvm/gems/jruby-1.6.7/gems/rack-1.4.1/lib/rack/builder.rb:40
               app at /Users/peter/.rvm/gems/jruby-1.6.7/gems/rack-1.4.1/lib/rack/server.rb:200
               app at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/commands/server.rb:46
       wrapped_app at /Users/peter/.rvm/gems/jruby-1.6.7/gems/rack-1.4.1/lib/rack/server.rb:301
             start at /Users/peter/.rvm/gems/jruby-1.6.7/gems/rack-1.4.1/lib/rack/server.rb:252
             start at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/commands/server.rb:70
            (root) at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/commands.rb:55
               tap at org/jruby/RubyKernel.java:1787
            (root) at /Users/peter/.rvm/gems/jruby-1.6.7/gems/railties-3.2.2/lib/rails/commands.rb:50
           require at org/jruby/RubyKernel.java:1042
            (root) at script/rails:6
@andreasronge
Copy link
Owner

There is a mismatch of JAR version. There used to be a method org.neo4j.kernel.Config.getGraphDbModule()Lorg/neo4j/kernel/impl/core/GraphDbModule but that does not exist using the neo4j 2.0.0.alpha.5 JAR files (neo4j-community)

@pehrlich
Copy link
Author

Ah, good to know! It would seem good to not include JARs in this gem at all? Is there a way?

@cobaltroad
Copy link

It appears to be fixed in the 0.1.0 release. I set my Gemfile to point directly to the git repository.

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

No branches or pull requests

3 participants