gpt4 book ai didi

java - Ant 抛出错误 "java returned 1"

转载 作者:行者123 更新时间:2023-12-01 17:00:28 24 4
gpt4 key购买 nike

所以我尝试构建一个存储库并在使用“ANT”时出现以下错误:

Copying 1851 files to F:\GitHub\appinventor-sources\appinventor\appengine\build\war         CheckYaClientApp: YaClientApp: 
[java] Jan 14, 2015 10:33:52 AM java.util.prefs.WindowsPreferences
[java] WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
[java] Compiling module com.google.appinventor.YaClient
[java] [ERROR] Unexpected internal compiler error
[java] java.lang.RuntimeException: Unable to write to byte cache
[java] at com.google.gwt.dev.util.DiskCache.writeByteArray(DiskCache.java:219)
[java] at com.google.gwt.dev.javac.CompiledClass.(CompiledClass.java:106)
[java] at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.createCompiledClass(JdtCompiler.java:266)
[java] at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:239)
[java] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
[java] at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:718)
[java] at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:248)
[java] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:463)
[java] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:388)
[java] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:373)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:246)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[java] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[java] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger (CompileTaskRunner.java:82)
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[java] Caused by: java.io.IOException: There is not enough space on the disk
[java] at java.io.RandomAccessFile.writeBytes0(Native Method)
[java] at java.io.RandomAccessFile.writeBytes(RandomAccessFile.java:520 )
[java] at java.io.RandomAccessFile.write(RandomAccessFile.java:537)
[java] at com.google.gwt.dev.util.DiskCache.writeByteArray(DiskCache.ja va:216)
[java] ... 18 more BUILD FAILED

F:\GitHub\appinventor-sources\appinventor\build.xml:16: The following error occu rred while executing this line: F:\GitHub\appinventor-sources\appinventor\appengine\build.xml:364: Java returned : 1

我错过了什么?

最佳答案

您的错误消息包含您问题的答案:

Caused by: java.io.IOException: There is not enough space on the disk

这个故事的寓意:一定要阅读错误消息,它们的存在是有原因的。

关于java - Ant 抛出错误 "java returned 1",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27947329/

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