小编Muk*_*aur的帖子

无法安装"gem install eventmachine".我需要在我的项目中使用starling,因为我需要安装eventmachine

我在我的控制台上收到以下错误

root@comp09:~# gem install eventmachine
Building native extensions.  This could take a while...
ERROR:  Error installing eventmachine:
 ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... yes
checking for rb_thread_blocking_region()... no
checking for inotify_init() in sys/inotify.h... yes
checking for writev() in sys/uio.h... yes
checking for rb_thread_check_ints()... no
checking for rb_time_new()... yes
checking for sys/event.h... no
checking for epoll_create() in sys/epoll.h... yes
creating Makefile

make
I. -I/usr/local/lib/ruby/1.8/x86_64-linux -I/usr/local/lib/ruby/1.8/x86_64-linux -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_INOTIFY_INIT -DHAVE_INOTIFY -DHAVE_WRITEV -DHAVE_WRITEV …
Run Code Online (Sandbox Code Playgroud)

ruby-on-rails

17
推荐指数
2
解决办法
1万
查看次数

Java7 ClassFormatError:创建对象时非法的局部变量表长度

我在执行以下代码时遇到这个奇怪的错误.

EncoderRequest encoderRequest = new EncoderRequest(sid,appTxnId,pfid,transactionType,"",isUpdatetype9,true);
Run Code Online (Sandbox Code Playgroud)

我检查了所有参数值是否有效.我使用的是java7平台.任何人都可以遇到这种情况,请帮忙.

以下是我得到的stacktrace的一部分.

Caused by: java.lang.ClassFormatError: Illegal local variable table length 48 in method com.cmc.facts.encoder.EncoderRequest.<init>(JLjava/lang/String;Ljava/lang/Long;Lcom/cmc/facts/enums/TransactionType;Ljava/lang/String;ZZ)V at com.cmc.facts.nist.NistReaderModel.preprossingOfNistFile(NistReaderModel.java:180) at com.cmc.facts.action.interstate.InterStateAction.uploadFIIF(InterStateAction.java:645) ... 115 more

java java-ee java-7

9
推荐指数
1
解决办法
1万
查看次数

标签 统计

java ×1

java-7 ×1

java-ee ×1

ruby-on-rails ×1