冰楓論壇

標題: 遇到難題了 [打印本頁]

作者: zpes6303    時間: 2016-2-4 20:53
標題: 遇到難題了
我照著
https://bingfong.com/thread-119867-1-1.html
這一篇文章內的說明一步一步慢慢做
後來到最後的開啟伺服器
跑出了以下的字
小馬端 啟動伺服器中:
遊戲伺服器
登入伺服器
Error initializing loginserverjava.lang.RuntimeException: Could not connect to w
orld server.
請按任意鍵繼續 . . . 頻道伺服器
Exception in thread "main" java.rmi.ConnectIOException: error during JRMP connec
tion establishment; nested exception is:
        javax.net.ssl.SSLKeyException: RSA premaster secret error
        at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
        at sun.rmi.server.UnicastRef.newCall(Unknown Source)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at net.sf.odinms.net.channel.ChannelServer.main(ChannelServer.java:605)
Caused by: javax.net.ssl.SSLKeyException: RSA premaster secret error
        at com.sun.net.ssl.internal.ssl.RSAClientKeyExchange.<init>(Unknown Sour
ce)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(Unknown
Source)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown
Source)
        at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
        at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source
)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Un
known Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source
)
        at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
        at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
        at java.io.BufferedOutputStream.flush(Unknown Source)
        at java.io.DataOutputStream.flush(Unknown Source)
        ... 5 more
Caused by: java.security.NoSuchAlgorithmException: SunTlsRsaPremasterSecret KeyG
enerator not available
        at javax.crypto.KeyGenerator.<init>(DashoA13*..)
        at javax.crypto.KeyGenerator.getInstance(DashoA13*..)
        at com.sun.net.ssl.internal.ssl.JsseJce.getKeyGenerator(Unknown Source)
        ... 17 more
請按任意鍵繼續 . . .
作者: bestvit99990    時間: 2016-2-7 11:04
提示: 作者被禁止或刪除 內容自動屏蔽




歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓