将我的 Eclipse Kepler 版本更新到 20130919-0819 后,我需要重新安装 m2e 生命周期映射。但是,当我尝试打开安装生命周期映射的对话框(通过首选项或 POM 查看器消息中的链接)时,会显示以下错误消息:
"Discovery completed without finding any extensions. Please check your network connection and try again."
Eclipse 错误日志显示以下异常:
java.io.IOException: Unable to create temporary file
at java.io.File$TempDirectory.generateFile(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at org.eclipse.equinox.internal.p2.discovery.compatibility.RemoteBundleDiscoveryStrategy$DownloadBundleJob.call(RemoteBundleDiscoveryStrategy.java:197)
at org.eclipse.equinox.internal.p2.discovery.compatibility.RemoteBundleDiscoveryStrategy$DownloadBundleJob.call(RemoteBundleDiscoveryStrategy.java:1)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
我已经尝试使用全新的 Eclipse 安装以及新的工作区,但错误仍然相同。我的网络连接正常,我可以在 Web 浏览器中打开指向 JAR 文件的链接。