- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我支持旧的 Rails 应用程序。它使用 Rails 版本 2.3.2 和 JRuby 1.5.6。我在 IntelliJ 12 中运行它。启动应用程序或启动调试器时,我收到此错误。我想知道是否有人以前见过类似的错误以及可能导致此错误的原因。谢谢!
=> Booting Mongrel
=> Rails 2.3.2 application starting on ht tp://127.0.0.1:3000
D:/AppDev/WarManager/vendor/gems/logging-0.9.7/lib/logging/config/configurator.rb:133 warning: `instance_eval' should not be aliased
D:/AppDev/WarManager/vendor/gems/logging-0.9.7/lib/logging/layouts/pattern.rb:121 warning: already initialized constant DIRECTIVE_TABLE
D:/AppDev/WarManager/vendor/gems/logging-0.9.7/lib/logging/layouts/pattern.rb:142 warning: already initialized constant DIRECTIVE_RGXP
D:/AppDev/WarManager/vendor/gems/logging-0.9.7/lib/logging/layouts/pattern.rb:145 warning: already initialized constant ISO8601
Logging to: D:/logs/log4j/warManager-development.log
=> Call with -d to detach
=> Ctrl-C to shutdown server
>
[FATAL] 2014-01-16 10:59:23 [3580] [0.9.7/lib/logging/logger.rb:111]:: /!\ FAILSAFE /!\ Thu Jan 16 10:59:23 -0400 2014
Status: 500 Internal Server Error
org.jruby.RubyModule.getConstant(Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;
arjdbc.ArJdbcModule.modules(ArJdbcModule.java:158)
arjdbc.ArJdbcModule$s_method_0_0$RUBYINVOKER$modules.call(arjdbc/ArJdbcModule$s_method_0_0$RUBYINVOKER$modules.gen:65535)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:60)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
org.jruby.ast.AttrAssignTwoArgNode.interpret(AttrAssignTwoArgNode.java:36)
org.jruby.ast.IfNode.interpret(IfNode.java:119)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:283)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:214)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:359)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:237)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:242)
org.jruby.RubyClass$SpecificArityNew.call(RubyClass.java:830)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:202)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:349)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:228)
org.jruby.ast.CallThreeArgNode.interpret(CallThreeArgNode.java:61)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:201)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:182)
org.jruby.RubyClass.finvoke(RubyClass.java:546)
org.jruby.RubyObject.send(RubyObject.java:1443)
org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send.call(org/jruby/RubyObject$i_method_multi$RUBYINVOKER$send.gen:65535)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrNBlock.call(JavaMethod.java:283)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:329)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:188)
org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:158)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.VCallNode.interpret(VCallNode.java:85)
org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:158)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.VCallNode.interpret(VCallNode.java:85)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.IfNode.interpret(IfNode.java:117)
org.jruby.ast.IfNode.interpret(IfNode.java:119)
org.jruby.ast.DAsgnNode.interpret(DAsgnNode.java:110)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)
org.jruby.runtime.Block.yield(Block.java:194)
org.jruby.RubyKernel.loop_1_9(RubyKernel.java:1251)
org.jruby.RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop_1_9.call(org/jruby/RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop_1_9.gen:65535)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:132)
org.jruby.ast.FCallNoArgBlockNode.interpret(FCallNoArgBlockNode.java:32)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:294)
org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:228)
org.jruby.runtime.Block.yieldSpecific(Block.java:99)
org.jruby.ast.ZYieldNode.interpret(ZYieldNode.java:25)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:160)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:166)
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:81)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:158)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.VCallNode.interpret(VCallNode.java:85)
org.jruby.ast.AttrAssignTwoArgNode.interpret(AttrAssignTwoArgNode.java:36)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.IfNode.interpret(IfNode.java:119)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:158)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
org.jruby.ast.AndNode.interpret(AndNode.java:94)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.OrNode.interpret(OrNode.java:94)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:158)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.VCallNode.interpret(VCallNode.java:85)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:158)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.VCallNode.interpret(VCallNode.java:85)
org.jruby.ast.CallNoArgBlockPassNode.interpret(CallNoArgBlockPassNode.java:53)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.IfNode.interpret(IfNode.java:119)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:160)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:166)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.ToAryNode.interpret(ToAryNode.java:69)
org.jruby.ast.MultipleAsgnNode.interpret(MultipleAsgnNode.java:127)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.ToAryNode.interpret(ToAryNode.java:69)
org.jruby.ast.MultipleAsgnNode.interpret(MultipleAsgnNode.java:127)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.RescueNode.executeBody(RescueNode.java:199)
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:118)
org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)
org.jruby.runtime.Block.yield(Block.java:194)
org.jruby.libraries.ThreadLibrary$Mutex.synchronize(ThreadLibrary.java:195)
org.jruby.libraries.ThreadLibrary$Mutex$i_method_0_0$RUBYINVOKER$synchronize.call(org/jruby/libraries/ThreadLibrary$Mutex$i_method_0_0$RUBYINVOKER$synchronize.gen:65535)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.ReturnNode.interpret(ReturnNode.java:92)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)
org.jruby.runtime.Block.yield(Block.java:194)
org.jruby.RubyArray.eachCommon(RubyArray.java:1630)
org.jruby.RubyArray.each(RubyArray.java:1637)
org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.ToAryNode.interpret(ToAryNode.java:69)
org.jruby.ast.MultipleAsgnNode.interpret(MultipleAsgnNode.java:127)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.ToAryNode.interpret(ToAryNode.java:69)
org.jruby.ast.MultipleAsgnNode.interpret(MultipleAsgnNode.java:127)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.ToAryNode.interpret(ToAryNode.java:69)
org.jruby.ast.MultipleAsgnNode.interpret(MultipleAsgnNode.java:127)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:221)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:190)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:329)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:188)
org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)
org.jruby.runtime.Block.yield(Block.java:194)
org.jruby.RubyArray.eachCommon(RubyArray.java:1630)
org.jruby.RubyArray.each(RubyArray.java:1637)
org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.IfNode.interpret(IfNode.java:117)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.IfNode.interpret(IfNode.java:117)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.WhileNode.interpret(WhileNode.java:131)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.RescueNode.executeBody(RescueNode.java:199)
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:118)
org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:327)
org.jruby.runtime.BlockBody.call(BlockBody.java:78)
org.jruby.runtime.Block.call(Block.java:89)
org.jruby.RubyProc.call(RubyProc.java:224)
org.jruby.RubyProc.call(RubyProc.java:207)
org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:94)
java.lang.Thread.run(Thread.java:662)
最佳答案
如果您使用的是 JRuby 1.5,则需要在 AR-JDBC 上使用“旧”版本(activerecord-jdbc-adapter gem)...1.3 需要至少 JRuby 1.6 和最新的 1.2 版本也可以 - 尝试降级,直到找到可以工作的东西。
关于java - 状态 : 500 Internal Server Error org. jruby.RubyModule.getConstant(Ljava/lang/String;Z)Lorg/jruby/runtime/builtin/IRubyObject;,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21165466/
我在一个C++程序中找到了一段代码,好像每隔for()循环两次。在这个程序中循环,但为什么在这样的预处理器定义中需要第三个 for 呢? #define for for(int z=0;z<2;++z
我正在尝试分割其中有一个小写字母后跟一个大写字母的文本。 假设文本是: “Įvairių rūšiųSkinti kardeliai” 我想在“ųS”处拆分它,但是以下正则表达式“[ą-ž][Ą-Ž]
这个问题在这里已经有了答案: Reference - What does this regex mean? (1 个回答) 关闭 2 年前。 下面的正则表达式有什么区别。对我来说,它们都是一样的 [
我正在尝试用 Java 编写一个正则表达式: "/[A-Z]{6}-[A-Z]{4}-[A-Z]{4}/" 但是它不起作用。例如 "AASAAA-AAAA-AAAA".matches("/[A-Z]{
我需要确定一个字符串是否是一个变量标识符。 即(a-z,A-Z,,$) 后跟 (a-z,A-Z,0-9,,$) 我知道我可以使用手动配置的 reg exp 来完成它,但必须有一个更紧凑的内置函数我可以
早上好,我是新来的,我带来了一个小问题。我无法针对以下问题开发有效的算法:我需要找到三个正数 x、y 和 z 的组合,以便 x + y、x - y、y + z、y - z、x + z 和 x - z
这个问题已经有答案了: How does the ternary operator work? (12 个回答) 已关闭 6 年前。 我发现了一种不同的返回值的方式,并且很兴奋。它到底是什么意思? 如
我需要以下正则表达式,允许 [a-zA-Z]+ 或 [a-zA-Z]+[ \\-]{0,1}[a-zA-Z]+ 所以我想在 a-zA-Z 字符之间允许无限的减号和空格 示例: sdfsdfdsf-sf
我正在编写一个代码,它以“代码”(编码理论)作为输入,并且我已经计算了它的权重枚举器。我想使用 MacWilliams Identity 找到双代码的权重枚举器. 我有W(z) ,代码的权重枚举器,我
我已经编写了一个 child 文字游戏,现在我正在尝试优化性能。游戏以一种特殊的方式从数据库中挑选关键词,我想做得更好。 给定一个按字母数字排序的 MySQL 关键字字段: keyword s
假设一个字符串是abc/xyz/IMPORTANT/DATA/@#!%@!%,我只想要IMPORTANT/DATA/!%#@%!#% 我对正则表达式很烂,而且真的还没学过 JavaScript API
JS代码: ? 1
大家晚上好我想知道有没有更快的方法来生成以下形式的列表? [a,b,c,…,z] → [[z], [y,z], [x,y,z], … , [a,b,…,y,z]] 我知道切片是最好的方法之一,但没有更
我在 Firefox 和其他浏览器上遇到嵌套 z-index 的问题,我有一个 div,z-index 为 30000,位于 label 下方> zindex 为 9000。我认为这是由 z-inde
我正在尝试制作一个灯泡。这是代码 JSfiddle HTML 查询 $('.button').click(function() { $('#add').show();
在您想将嵌套模块导入命名空间的情况下,我总是这样写: from concurrent import futures 不过,我最近意识到这也可以使用“as”语法来表达。请参阅以下内容: import c
我正在尝试创建一个基本上复制 matlab 命令的函数:[z;-z] 其中 z = randn(m,n) 返回一个 m -by-n 随机条目矩阵。我能够在 C++ 中为下面的 randn 函数创建一个
好吧,我迷失在这些指针中,有人能准确地告诉我 char * x,y,z; 和 char* x,y,z 之间的区别是什么; 和 char (*)x,y,z; ?如果可以,请为您的答案或其他内容提供资源。
这是一道函数依赖题。 我知道当 x->yz 然后 x->y 和 x->z 时。但是上面的依赖关系可能吗? 最佳答案 If xy determines z can x determine z and y
我有一个列表列表 nLedgers - 一个 3D 点云: [nodeID, X, Y, Z] 多行。一些节点将具有相同的 X 和 Y 坐标以及不同的 Z 坐标。 我想首先确定具有相同 X 和 Y 坐
我是一名优秀的程序员,十分优秀!