永发信息网

NetBeans 启动WebBrick服务器出错

答案:1  悬赏:60  手机版
解决时间 2021-04-28 14:41
  • 提问者网友:贪了杯
  • 2021-04-28 00:33

提示错误如下:

=> Booting WEBrick...
C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require': no such file to load -- E:/???????§????/affair/config/environment (MissingSourceFile)
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/servers/webrick.rb:59
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/servers/webrick.rb:31:in `require'
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:31:in `require'
from C:/Program Files/NetBeans 6.7 RC1/ruby2/jruby-1.1.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from script\server:3

最佳答案
  • 五星知识达人网友:往事隔山水
  • 2021-04-28 00:49

你看下是不是端口被占用了

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯