Когда я бегу SonarQube с помощью «StartSonar.bat», окно командной строки показывает -SonarQube исключение
`jvm 1 | 2014.10.16 17:32:14 INFO app[o.s.p.m.Monitor] Process[web] is up`
но когда я ударил URL - http://localhost:9000/
от моей машины, я получаю следующее сообщение об ошибке. Я в этом много нового. Пожалуйста, предложите, как я могу это решить. Я использую SonarQube версии 4.5 и операционную систему - Windows 7 Professional.
org.jruby.rack.RackInitializationException: uninitialized constant I18n
from org/jruby/RubyModule.java:2689:in `const_missing'
from C:/sonarqube-4.5/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record.rb:83:in `(root)'
from org/jruby/RubyKernel.java:1075:in `require'
from jar:file:/C:/sonarqube-4.5/lib/server/jruby-complete-1.7.9.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55:in `require'
from jar:file:/C:/sonarqube-4.5/lib/server/jruby-complete-1.7.9.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:53:in `require'
from C:/sonarqube-4.5/web/WEB-INF/gems/gems/rails-2.3.15/lib/initializer.rb:1:in `(root)'
from org/jruby/RubyArray.java:1613:in `each'
from C:/sonarqube-4.5/web/WEB-INF/gems/gems/rails-2.3.15/lib/initializer.rb:268:in `require_frameworks'
from C:/sonarqube-4.5/web/WEB-INF/gems/gems/rails-2.3.15/lib/initializer.rb:268:in `require_frameworks'
from file:/C:/sonarqube-4.5/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment2.rb:51:in `require_frameworks_with_servlet_env'
from org/jruby/RubyKernel.java:2223:in `send'
from C:/sonarqube-4.5/web/WEB-INF/gems/gems/rails-2.3.15/lib/initializer.rb:134:in `process'
from C:/sonarqube-4.5/web/WEB-INF/gems/gems/rails-2.3.15/lib/initializer.rb:113:in `run'
from org/jruby/RubyKernel.java:1094:in `load'
from C:/sonarqube-4.5/web/WEB-INF/config/environment.rb:55:in `(root)'
from file:/C:/sonarqube-4.5/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment2.rb:1:in `(root)'
from file:/C:/sonarqube-4.5/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment2.rb:25:in `load_environment'
at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:29)
at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:98)
at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.jruby.exceptions.RaiseException: (NameError) uninitialized constant I18n
at org.jruby.RubyModule.const_missing(org/jruby/RubyModule.java:2689)
at RUBY.(root)(C:/sonarqube-4.5/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record.rb:83)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1075)
at Kernel.require(jar:file:/C:/sonarqube-4.5/lib/server/jruby-complete-1.7.9.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55)
at Kernel.require(jar:file:/C:/sonarqube-4.5/lib/server/jruby-complete-1.7.9.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:53)
at RUBY.(root)(C:/sonarqube-4.5/web/WEB-INF/gems/gems/rails-2.3.15/lib/initializer.rb:1)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
at RUBY.require_frameworks(C:/sonarqube-4.5/web/WEB-INF/gems/gems/rails-2.3.15/lib/initializer.rb:268)
at RUBY.require_frameworks(C:/sonarqube-4.5/web/WEB-INF/gems/gems/rails-2.3.15/lib/initializer.rb:268)
at RUBY.require_frameworks_with_servlet_env(file:/C:/sonarqube-4.5/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment2.rb:51)
at org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2223)
at RUBY.process(C:/sonarqube-4.5/web/WEB-INF/gems/gems/rails-2.3.15/lib/initializer.rb:134)
at RUBY.run(C:/sonarqube-4.5/web/WEB-INF/gems/gems/rails-2.3.15/lib/initializer.rb:113)
at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1094)
at RUBY.(root)(C:/sonarqube-4.5/web/WEB-INF/config/environment.rb:55)
at RUBY.(root)(file:/C:/sonarqube-4.5/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment2.rb:1)
at RUBY.load_environment(file:/C:/sonarqube-4.5/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment2.rb:25)
Вы можете ознакомиться с этим руководством, чтобы узнать, как его настроить. Http://sharpten.com/blog/2014/05/02/sonarqube_for_php_project.html – xmaestro
Является ли это новой установкой SQ 4.5? Выполняли ли вы шаг за шагом руководство по установке? –
Да, это новая установка и руководство по установке. – user2318170