问题
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