我在一小时前的Java预测中遇到了一个奇怪的错误,这真的很烦人。问题是Eclipse想要预测任何事情,几秒钟后弹出一个消息框并说:
“发生了多个问题”。
详细地区说:
在“计算其他信息”期间发生内部错误。 sun.security.ec.ECKeyPairGenerator.getEncodedBytes(J)[B“
工作区日志:
!MESSAGE在“计算其他信息”期间发生内部错误。 !堆栈0 java.lang.UnsatisfiedLinkError:sun.security.ec.ECKeyPairGenerator.getEncodedBytes(J)[B at sun.security.ec.ECKeyPairGenerator.getEncodedBytes(Native Method) at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:134) at java.security.KeyPairGenerator $ Delegate.generateKeyPair(Unknown Source) 在sun.security.ssl.ECDHCrypt。(未知来源) at sun.security.ssl.ClientHandshaker.serverKeyExchange(Unknown Source) 在sun.security.ssl.ClientHandshaker.processMessage(未知来源) 在sun.security.ssl.Handshaker.processLoop(未知来源) 在sun.security.ssl.Handshaker.process_record(未知来源) at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) 在sun.security.ssl.SSLSocketImpl.startHandshake(未知来源) 在sun.security.ssl.SSLSocketImpl.startHandshake(未知来源) 在sun.net.www.protocol.https.HttpsClient.afterConnect(未知来源) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.HttpURLConnection.getResponseCode(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source) 在org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:848) 在org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1039) 在org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:717) at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:533) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:90) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:60) at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:582) at org.eclipse.jface.text.contentassist.AdditionalInfoController $ 3.run(AdditionalInfoController.java:106) 在org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)