JXTA Practical jxta II examples …exception when NetManager.startNetwork(); is executed

為{幸葍}努か 提交于 2019-12-11 04:14:45

问题


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

this exception is encountered when this line is executed

PeerGroup TheNetPeerGroup = NetManager.startNetwork();

I have used jxse-2.6 to run the examples...i hve followed all the steps mentioned in the book...

Where can i find jxse-2.7.jar file ...couldnot find it...??

I am running the examples in netbeans and i have included the netty-3.1.5.GA.jar in the library


回答1:


You need to add netty in your classpath. Get it from netty.io website.



来源:https://stackoverflow.com/questions/9482029/jxta-practical-jxta-ii-examples-exception-when-netmanager-startnetwork-is

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!