undefined method `controllers' for nil:NilClass

下载了sonarqube 4.5.2,启动的时候没什么问题,可是不管访问什么都会有以下异常。
而且日志文件中没有任何异常,那位知道是那里有问题吗?
org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `controllers' for nil:NilClass
	at org.jruby.RubyKernel.method_missing(org/jruby/RubyKernel.java:255)
	at RUBY.method_missing(D:/Java/sonarqube-4.5.2/web/WEB-INF/gems/gems/activesupport-2.3.15/lib/active_support/whiny_nil.rb:52)
	at RUBY.add_java_ws_routes(D:/Java/sonarqube-4.5.2/web/WEB-INF/config/../lib/java_ws_routing.rb:34)
	at RUBY.reload(D:/Java/sonarqube-4.5.2/web/WEB-INF/config/../lib/java_ws_routing.rb:55)
	at RUBY.reload_application(D:/Java/sonarqube-4.5.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:58)
	at RUBY.run(D:/Java/sonarqube-4.5.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/reloader.rb:42)
	at RUBY.call(D:/Java/sonarqube-4.5.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:108)
	at RUBY.serve_rails(file:/D:/Java/sonarqube-4.5.2/lib/server/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:34)
	at RUBY.call(file:/D:/Java/sonarqube-4.5.2/lib/server/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:39)
	at RUBY.call(file:/D:/sonarqube-4.5.2/lib/server/jruby-rack-1.1.13.2.jar!/rack/handler/servlet.rb:22)

sonar.properties配置如下

sonar.jdbc.username=root
sonar.jdbc.password=root

sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
sonar.web.host=0.0.0.0
sonar.web.context=/
sonar.web.port=9000

你可能感兴趣的:(undefined method `controllers' for nil:NilClass)