When I run my application initially developed and deployed on Ruby on
rails, it runs fine. But when I run the same application using Jruby it
throws following error. Please help
Processing EmployeeController#index (for 127.0.0.1 at 2007-10-02
14:05:39) [GET]
Session ID: 754b9ef223425bfbd6709740e55d0243
Parameters: {“action”=>“index”, “controller”=>“employee”}
Redirected to http://localhost:3000/employee/setProjects
Completed in 0.04700 (21 reqs/sec) | 302 Found
[http://localhost/employee]
uninitialized constant EmployeeController::SystemCls
C:/jruby-1.0/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:477:in
const_missing' ./script/../config/../app/controllers/employee_controller.rb:33:in
initialize’
C:/jruby-1.0/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:330:in
new' C:/jruby-1.0/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:330:in
process’
C:/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:41:in
dispatch' C:/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/webrick_server.rb:118:in
handle_dispatch’
C:/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/webrick_server.rb:81:in
service' C:/jruby-1.0/lib/ruby/1.8/webrick/httpserver.rb:104:in
service’
C:/jruby-1.0/lib/ruby/1.8/webrick/httpserver.rb:65:in run' C:/jruby-1.0/lib/ruby/1.8/webrick/server.rb:173:in
start_thread’
C:/jruby-1.0/lib/ruby/1.8/webrick/server.rb:95:in `start’