IntelliJ IDEA的无法解析Maven项目
停留在 “读书.../pom.xml的”IntelliJ IDEA的无法解析Maven项目
我改变了我的hosts文件,加入127.0.0.1本地主机我的IntelliJ IDEA的,不能工作
我删除IntelliJ IDEA的config目录下,重新安装IntelliJ IDEA的,不能工作
我reintalled行家,不能工作
我用的IntelliJ的内心Maven版本,而不是下载一个,不能工作
我改变了这两个配置设置的行家,还是不能工作
错误显示IDEA日志文件:
org.jetbrains.idea.maven.indices.MavenIndexException: Cannot read index.properties file at org.jetbrains.idea.maven.indices.MavenIndex.<init>(MavenIndex.java:125)
at org.jetbrains.idea.maven.indices.MavenIndices.load(MavenIndices.java:58)
at org.jetbrains.idea.maven.indices.MavenIndices.<init>(MavenIndices.java:46)
at org.jetbrains.idea.maven.indices.MavenIndicesManager.ensureInitialized(MavenIndicesManager.java:111)
at org.jetbrains.idea.maven.indices.MavenIndicesManager.getIndicesObject(MavenIndicesManager.java:94)
at org.jetbrains.idea.maven.indices.MavenIndicesManager.ensureIndicesExist(MavenIndicesManager.java:171)
at org.jetbrains.idea.maven.indices.MavenProjectIndicesManager$3.run(MavenProjectIndicesManager.java:117)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327)
at com.intellij.util.ui.update.MergingUpdateQueue.lambda$flush$1(MergingUpdateQueue.java:277)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:291)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:246)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:246)
at com.intellij.util.Alarm$Request.runSafely(Alarm.java:417)
at com.intellij.util.Alarm$Request.access$700(Alarm.java:344)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:384)
at com.intellij.util.Alarm$Request.run(Alarm.java:395)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:242)
at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:212)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: C:\Users\ifly\.IntelliJIdea2017.3\system\Maven\Indices\Index0\index.properties (系统找不到指定的文件。)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.jetbrains.idea.maven.indices.MavenIndex.<init>(MavenIndex.java:116)
... 23 more
谁能帮助我?
回答:
尝试删除.IntelliJIdea2017.3 \ system \ Maven \目录。
回答:
我尝试删除.IntelliJIdea2017.3 \ system \ Maven \目录。 但是当想法重建目录。没有index.properties。
以上是 IntelliJ IDEA的无法解析Maven项目 的全部内容, 来源链接: utcz.com/qa/260207.html