gpt4 book ai didi

java - 构建项目期间 Eclipse 202003 javaIO 错误

转载 作者:行者123 更新时间:2023-12-01 16:59:54 25 4
gpt4 key购买 nike

有人在使用Eclipse最新版本:202003时遇到过如下错误吗?我已经下载了它,将 Java 1.8 更新到最新的 Java 版本,启动 eclipse,添加我的 PHP 项目,在构建或验证或 DLTK 索引期间我收到了内部错误。来自 eclipse .log 文件的部分:

!ENTRY org.eclipse.dltk.core.index.lucene 1 1 2020-04-30 16:33:01.599
!MESSAGE Recovering index storage: Y:\.metadata\.plugins\org.eclipse.dltk.core.index.lucene\index\4b74b979-df85-4fb0-bd11-ad91f89ae355\timestamps

!ENTRY org.eclipse.dltk.core.index.lucene 4 4 2020-04-30 16:33:01.617
!MESSAGE Index writer could not be created, index data might be corrupted.
!STACK 0
java.io.IOException: The request is not supported
at sun.nio.ch.FileDispatcherImpl.lock0(Native Method)
at sun.nio.ch.FileDispatcherImpl.lock(Unknown Source)
at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
at java.nio.channels.FileChannel.tryLock(Unknown Source)
at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:126)
at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
at org.apache.lucene.store.SleepingLockWrapper.obtainLock(SleepingLockWrapper.java:84)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:729)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.createWriter(IndexContainer.java:139)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.getWriter(IndexContainer.java:146)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.getTimestampsWriter(IndexContainer.java:167)
at org.eclipse.dltk.internal.core.index.lucene.IndexRecovery.tryRecover(IndexRecovery.java:62)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.getWriter(IndexContainer.java:149)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.getTimestampsWriter(IndexContainer.java:167)
at org.eclipse.dltk.internal.core.index.lucene.IndexRecovery.tryRecover(IndexRecovery.java:62)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.getWriter(IndexContainer.java:149)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.getTimestampsWriter(IndexContainer.java:167)
........

我不知道出了什么问题?搞什么?Java版本是:jre1.8.0_251,我也尝试重新安装我使用的以前的java版本。这是:1.8.0_202...但是我一次又一次遇到同样的错误:(我想升级我的 Eclipse,因为 Symfony 插件...

以前使用的java版本:1.8.0_191。我重新安装了它并恢复了错误:

An internal error occurred during: "Build Modules".
java.lang.StackOverflowError

构建进程停止在 49% :(有人可以帮助我吗?

最佳答案

您好,这是 DLTK 6.1 + PDT 7.1 的问题。我们已经修复了这个问题:不再有异步锁和 FS 锁。请更新到最近的快照或尝试 Eclipse 2020-06 M2 或最新版本:https://www.eclipse.org/downloads/packages/release/2020-06/m2

关于java - 构建项目期间 Eclipse 202003 javaIO 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61525994/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com