IntelliJ Idea IDE:构建过程异常终止。如何解决?
IntelliJ Idea IDE: Abnormal build process termination. How to fix that?
我猜这是因为路径中的西里尔符号 IDE 在构建过程中无法正确消化,但我不能只在 Windows 10 中重命名此文件夹。
尝试使用 MKLINK \J 建立连接,但没有帮助..
我想 Windows 用户名中的西里尔符号使 IDE 抛出
java.nio.file.InvalidPathException: Illegal char <?> at index 9: C:/Users/????/AppData/Local/JetBrains/IdeaIC2022.1/log/build-log\build-log-jul.properties
但我无法修复它。重新安装 IDE 没有带来任何好运
Abnormal build process termination:
"C:\Program Files\Java\jdk1.8.0_171\bin\java.exe" -Xmx700m -Djava.awt.headless=true -Djava.endorsed.dirs=\"\" -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Djdt.compiler.useSingleThread=true -Daether.connector.resumeDownloads=false -Dio.netty.initialSeedUniquifier=-4495793791689339547 -Dfile.encoding=windows-1252 -Duser.language=ru -Duser.country=RU -Didea.paths.selector=IdeaIC2022.1 "-Didea.home.path=C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1" -Didea.config.path=C:/Users/Егор/AppData/Roaming/JetBrains/IdeaIC2022.1 -Didea.plugins.path=C:/Users/Егор/AppData/Roaming/JetBrains/IdeaIC2022.1/plugins -Djps.log.dir=C:/Users/Егор/AppData/Local/JetBrains/IdeaIC2022.1/log/build-log "-Djps.fallback.jdk.home=C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/jbr" -Djps.fallback.jdk.version=11.0.14.1 -Dio.netty.noUnsafe=true -Djps.backward.ref.index.builder=true -Dkotlin.incremental.compilation=true -Dkotlin.incremental.compilation.js=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\"C:\Users\A946~1\AppData\Local\Temp\kotlin-idea-11640337927034352620-is-running\" "-Djps.kotlin.home=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1\plugins\Kotlin\kotlinc" -Dtmh.instrument.annotations=true -Dtmh.generate.line.numbers=true -classpath "C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/java/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_171/lib/tools.jar" org.jetbrains.jps.cmdline.Launcher "C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/java/lib/jps-builders.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/java/lib/jps-builders-6.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/java/lib/jps-javac-extension.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/util.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/util_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/annotations.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/3rd-party-rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/jna.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/lz4-java.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/protobuf.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/jps-model.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/java/lib/javac2.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/forms_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/java/lib/aether-dependency-resolver.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/idea_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/javaFX/lib/javaFX-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/javaFX/lib/javaFX-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/eclipse/lib/eclipse-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/eclipse/lib/eclipse-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/space/lib/space-java-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/uiDesigner/lib/jps/java-guiForms-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/IntelliLang/lib/java-langInjection-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/Groovy/lib/groovy-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/Groovy/lib/groovy-constants-rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/ant/lib/ant-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/maven/lib/maven-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/gradle-java/lib/gradle-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/devkit/lib/devkit-jps.jar" org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 64816 91edec9e-f56d-4682-b5b8-47178d281b2b C:/Users/Егор/AppData/Local/JetBrains/IdeaIC2022.1/compile-server
Exception in thread "main" java.lang.ExceptionInInitializerError
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jetbrains.jps.cmdline.Launcher.main(Launcher.java:43)
Caused by: java.nio.file.InvalidPathException: Illegal char <?> at index 9: C:/Users/????/AppData/Local/JetBrains/IdeaIC2022.1/log/build-log\build-log-jul.properties
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at java.nio.file.Paths.get(Paths.java:84)
at org.jetbrains.jps.cmdline.LogSetup.initLoggers(LogSetup.java:31)
at org.jetbrains.jps.cmdline.BuildMain.<clinit>(BuildMain.java:47)
... 5 more
这是 IntelliJ 中的相关错误 IDE错误跟踪器:
Abnormal build process termination when OS user name contains non-Latin characters
随时观看,以便在有更新时得到通知。如果您不熟悉 YouTrack,请参阅 this article。
作为解决方法,请考虑将 IDE 安装到包含所有 ascii 字符的路径或重命名 OS 用户以包含所有 ascii 字符。抱歉给您带来不便。
我猜这是因为路径中的西里尔符号 IDE 在构建过程中无法正确消化,但我不能只在 Windows 10 中重命名此文件夹。 尝试使用 MKLINK \J 建立连接,但没有帮助.. 我想 Windows 用户名中的西里尔符号使 IDE 抛出
java.nio.file.InvalidPathException: Illegal char <?> at index 9: C:/Users/????/AppData/Local/JetBrains/IdeaIC2022.1/log/build-log\build-log-jul.properties
但我无法修复它。重新安装 IDE 没有带来任何好运
Abnormal build process termination:
"C:\Program Files\Java\jdk1.8.0_171\bin\java.exe" -Xmx700m -Djava.awt.headless=true -Djava.endorsed.dirs=\"\" -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Djdt.compiler.useSingleThread=true -Daether.connector.resumeDownloads=false -Dio.netty.initialSeedUniquifier=-4495793791689339547 -Dfile.encoding=windows-1252 -Duser.language=ru -Duser.country=RU -Didea.paths.selector=IdeaIC2022.1 "-Didea.home.path=C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1" -Didea.config.path=C:/Users/Егор/AppData/Roaming/JetBrains/IdeaIC2022.1 -Didea.plugins.path=C:/Users/Егор/AppData/Roaming/JetBrains/IdeaIC2022.1/plugins -Djps.log.dir=C:/Users/Егор/AppData/Local/JetBrains/IdeaIC2022.1/log/build-log "-Djps.fallback.jdk.home=C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/jbr" -Djps.fallback.jdk.version=11.0.14.1 -Dio.netty.noUnsafe=true -Djps.backward.ref.index.builder=true -Dkotlin.incremental.compilation=true -Dkotlin.incremental.compilation.js=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\"C:\Users\A946~1\AppData\Local\Temp\kotlin-idea-11640337927034352620-is-running\" "-Djps.kotlin.home=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1\plugins\Kotlin\kotlinc" -Dtmh.instrument.annotations=true -Dtmh.generate.line.numbers=true -classpath "C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/java/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_171/lib/tools.jar" org.jetbrains.jps.cmdline.Launcher "C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/java/lib/jps-builders.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/java/lib/jps-builders-6.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/java/lib/jps-javac-extension.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/util.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/util_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/annotations.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/3rd-party-rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/jna.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/lz4-java.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/protobuf.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/jps-model.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/java/lib/javac2.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/forms_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/java/lib/aether-dependency-resolver.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/lib/idea_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/javaFX/lib/javaFX-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/javaFX/lib/javaFX-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/eclipse/lib/eclipse-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/eclipse/lib/eclipse-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/space/lib/space-java-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/uiDesigner/lib/jps/java-guiForms-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/IntelliLang/lib/java-langInjection-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/Groovy/lib/groovy-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/Groovy/lib/groovy-constants-rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/ant/lib/ant-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/maven/lib/maven-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/gradle-java/lib/gradle-jps.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1/plugins/devkit/lib/devkit-jps.jar" org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 64816 91edec9e-f56d-4682-b5b8-47178d281b2b C:/Users/Егор/AppData/Local/JetBrains/IdeaIC2022.1/compile-server
Exception in thread "main" java.lang.ExceptionInInitializerError
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jetbrains.jps.cmdline.Launcher.main(Launcher.java:43)
Caused by: java.nio.file.InvalidPathException: Illegal char <?> at index 9: C:/Users/????/AppData/Local/JetBrains/IdeaIC2022.1/log/build-log\build-log-jul.properties
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at java.nio.file.Paths.get(Paths.java:84)
at org.jetbrains.jps.cmdline.LogSetup.initLoggers(LogSetup.java:31)
at org.jetbrains.jps.cmdline.BuildMain.<clinit>(BuildMain.java:47)
... 5 more
这是 IntelliJ 中的相关错误 IDE错误跟踪器:
Abnormal build process termination when OS user name contains non-Latin characters
随时观看,以便在有更新时得到通知。如果您不熟悉 YouTrack,请参阅 this article。
作为解决方法,请考虑将 IDE 安装到包含所有 ascii 字符的路径或重命名 OS 用户以包含所有 ascii 字符。抱歉给您带来不便。