问题描述
最近,我正在研究要使用的p2p框架,并且遇到了JXTA.太糟糕了,Oracle决定放弃JXTA.对于一个好的软件,真是太可惜了.无论如何,我遇到的问题是尝试以会合模式启动节点.
Recently I was investigating p2p framework to use and I came across JXTA. Too bad, Oracle decided to dropped JXTA. Real shame for a nice software. Anyway the problem that I have is trying to start a node in rendezvous mode.
NetworkManager管理器=新的NetworkManager(NetworkManager.ConfigMode.RENDEZVOUS,...);
NetworkManager manager = new NetworkManager(NetworkManager.ConfigMode.RENDEZVOUS,...);
调用manager.startNetwork()时出现NoClassDefFoundError
I'm getting a NoClassDefFoundError when I call manager.startNetwork();
它遇到问题的类是:org/jboss/netty/channel/socket/httptunnel/HttpTunnelClientChannelFactory
The class it is having problem with is:org/jboss/netty/channel/socket/httptunnel/HttpTunnelClientChannelFactory
JXSE 2.7随附JBoss netty 3.1.5 GA jar文件.在那个Netty版本中确实没有这样的类.
JXSE 2.7 came with JBoss netty 3.1.5 GA jar file. And there is really no such a class in that release of Netty.
有人成功运行了JXSE集合点节点吗?使用JXSE 2.7的正确Netty jar文件应该是什么?
Has anyone successfully ran a JXSE rendezvous node and what should be the right Netty jar file with JXSE 2.7?
推荐答案
尝试此jar文件:http://files.cnblogs.com/cuizhf/httptunnel-0.92.rar
try this jar file :http://files.cnblogs.com/cuizhf/httptunnel-0.92.rar
这篇关于具有损坏的JBoss Netty库依赖关系的JXTA JXSE 2.7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!