IntelliJ IDEA工具运行项目报错

木易随风 2014-06-13 11:15:40
错误信息:

Internal error: (java.io.IOException) Value storage is corrupted: value file size:10042808, readStartOffset:9961472, record address:13821001
java.io.IOException: Value storage is corrupted: value file size:10042808, readStartOffset:9961472, record address:13821001
at com.intellij.util.io.PersistentHashMapValueStorage.compactValues(PersistentHashMapValueStorage.java:163)
at com.intellij.util.io.PersistentHashMap.newCompact(PersistentHashMap.java:635)
at com.intellij.util.io.PersistentHashMap.compact(PersistentHashMap.java:582)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:158)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:106)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.createMap(AbstractStateStorage.java:137)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.<init>(AbstractStateStorage.java:42)
at org.jetbrains.jps.incremental.storage.OneToManyPathsMapping.<init>(OneToManyPathsMapping.java:37)
at org.jetbrains.jps.incremental.storage.SourceToOutputMappingImpl.<init>(SourceToOutputMappingImpl.java:35)
at org.jetbrains.jps.incremental.storage.BuildDataManager$2$1.compute(BuildDataManager.java:101)
at org.jetbrains.jps.incremental.storage.BuildDataManager$2$1.compute(BuildDataManager.java:96)
at com.intellij.openapi.util.AtomicNotNullLazyValue.getValue(AtomicNotNullLazyValue.java:38)
at org.jetbrains.jps.incremental.storage.BuildDataManager.closeSourceToOutputStorages(BuildDataManager.java:257)
at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:587)
at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:344)
at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:184)
at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:129)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:224)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:113)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:133)
at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
...全文
762 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
zengshuqin 2014-08-26
  • 打赏
  • 举报
回复
you need to remove the system directory manually including the compiler caches, then rebuild the project. USERPROFILE\.IntelliJIdeaXX\system on Windows, ~/Library/Caches/IntelliJIDEAXX on Mac OS X, ~/.IntelliJIdeaXX/system on Linux.
wenxincao 2014-08-26
  • 打赏
  • 举报
回复
http://stackoverflow.com/questions/2477799/dont-understand-why-i-am-getting-this-error-value-storage-corrupted-negati 删除临时编译文件 /index, /compiler and /caches 文件平,若无效的话删除整个system下面的文件 USERPROFILE\.IntelliJIdeaXX\system on Windows, ~/Library/Caches/IntelliJIDEAXX on Mac OS X, ~/.IntelliJIdeaXX/system on Linux.
内容概要:本文详细介绍了 IntelliJ IDEA 的下载安装全流程,旨在帮助用户轻松开启高效的 Java 开发之旅。首先解释了 IntelliJ IDEA 的两个主要版本:社区版适合初学者和小型项目,功能涵盖基本的 Java 开发需求;专业版面向企业级开发,提供更强大的功能,如高级代码分析、多语言支持等。接着,文章逐步指导用户从访问官方网站、选择版本、下载安装包到具体操作系统(Windows、macOS 和 Linux)下的安装步骤。对于每个平台,都提供了详细的安装指引,包括配置安装选项、创建桌面快捷方式、设置环境变量等。首次使用时,用户可以配置主题、安装插件以及配置 Java 开发环境。最后,文章还列举了一些常见问题及其解决方案,如安装报错、启动无响应和插件安装失败等,确保用户顺利使用 IntelliJ IDEA。 适用人群:适合所有 Java 开发者,特别是初学者和需要进行复杂项目开发的资深开发者。 使用场景及目标:①帮助初学者快速上手 Java 开发,掌握基础的开发工具使用;②协助资深开发者进行高效的企业级项目开发,充分利用 IntelliJ IDEA 的高级功能;③解决安装和初始配置过程中可能出现的问题,确保开发环境稳定运行。 其他说明:本文不仅提供了详尽的安装指南,还强调了 IntelliJ IDEA 的强大功能和灵活性,鼓励用户根据自身需求选择合适的版本,并通过配置和插件扩展来优化开发体验。此外,针对不同操作系统给出了具体的安装步骤,确保用户能够在各自的平台上顺利完成安装。

51,397

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧