开发者

Jruby socket error

开发者 https://www.devze.com 2023-01-16 23:20 出处:网络
I\'m useing netbeans and Jruby. When I 开发者_Python百科want to build a project I got the following message:

I'm useing netbeans and Jruby. When I 开发者_Python百科want to build a project I got the following message: SEVERE: library `socket' could not be loaded: java.lang.LinkageError: loader (instance of java/net/URLClassLoader): attempted duplicate class definition for name: "org/jruby/ext/socket/RubySocket"

Can anybody help to me what could be the problem ? Thanks


It's a known issue with jdk6u18 or higher. The workaround currently is to downgrade to jdk6u17. You can find more information here http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6923688

I'd highly suggest voting so that Oracle fixes it. We're already at u20 and they still haven't addressed the problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消