本文介绍了JXTA实用jxta II示例.... NetManager.startNetwork()时的异常;被执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在尝试运行实际的jxta ii的示例,但是iam遇到了这种异常
I have been trying to run examples of practical jxta ii but iam getting this exception
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/netty/channel/ChannelFactory
执行此行时遇到此异常
PeerGroup TheNetPeerGroup = NetManager.startNetwork();
我已经使用jxse-2.6来运行示例...我已经按照书中提到的所有步骤进行操作...
I have used jxse-2.6 to run the examples...i hve followed all the steps mentioned in the book...
在哪里可以找到jxse-2.7.jar文件...找不到... ??
Where can i find jxse-2.7.jar file ...couldnot find it...??
我正在netbeans中运行示例,并且在库中包含了netty-3.1.5.GA.jar
I am running the examples in netbeans and i have included the netty-3.1.5.GA.jar in the library
推荐答案
您需要在类路径中添加netty.从netty.io网站上获取它.
You need to add netty in your classpath. Get it from netty.io website.
这篇关于JXTA实用jxta II示例.... NetManager.startNetwork()时的异常;被执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!