编译没有问题,,运行时提示错误,,此时已弹出JXTA配置窗口。。输入用户名密码后提示下列错误。。
:\> java HelloWorld
tarting jxtal....
love youl
INFO 2007-01-09 20:13:48,468 NullConfigurator:: <init> :132> JXTA_HOME = file:
//.jxta/
INFO 2007-01-09 20:13:48,500 DefaultConfigurator::getPlatformConfig:174> Rec
ig requested - Forced reconfigure
INFO 2007-01-09 20:13:48,781 NullConfigurator::adjustLog4JPriority:316> Log4
user default] requested, not adjusting logging priority
ava.lang.NoSuchMethodError: org.bouncycastle.jce.X509Principal.getEncoded()[B
at net.jxta.impl.membership.pse.PSEUtils.genCert(PSEUtils.java:236)
at net.jxta.impl.peergroup.ConfigDialog.saveValues(ConfigDialog.java:2
)
at net.jxta.impl.peergroup.ConfigDialog.access$700(ConfigDialog.java:1
at net.jxta.impl.peergroup.ConfigDialog$3.actionPerformed(ConfigDialog
va:1691)
at java.awt.Button.processActionEvent(Unknown Source)
at java.awt.Button.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Sourc
------解决方案--------------------
帮你up
------解决方案--------------------
帮楼主顶上去
------解决方案--------------------
没有找到所请求的方法,lz看看那里的方法用错了
看看236行,有没有这行,如果有的话看看是那个方法没有找到在运行时
再查查有没有加了相同的包并且版本不同,都有可能导致此原因