简体   繁体   English

gradle-resources-production:mymod.main: java.nio.file.InvalidPathException: Illegal char <:> at index 75

[英]gradle-resources-production:mymod.main: java.nio.file.InvalidPathException: Illegal char <:> at index 75

gradle-resources-production:mymod.main: 
java.nio.file.InvalidPathException: Illegal char <:> at index 75:
 C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.2\jbr\bin\
C:\Users\user\Downloads\mymod
\out\production\mymod.main\assets\modid\icon.png

I have no idea what is going on or where to look to fix this problem... Im trying to make some fabric mods for minecraft.不知道发生了什么或在哪里解决这个问题......我正在尝试为我的世界制作一些织物模型。 This is my mod on github and i have done nothing but follow this tutorial Im making this in intellij idea 2022 for Minecraft V1.18.2.这是我在 github 上的 mod,除了按照本教程进行操作之外,我什么也没做,我在 intellij idea 2022 for Minecraft V1.18.2 中制作了这个。 Plz hlp请帮忙

Your output directory is not correct.您的 output 目录不正确。

In Windows, there is only one: allowed after specifying the drive letter. Windows中只有一个:指定盘符后允许。 Your path你的道路

C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.2\jbr\bin\C:\Users\user\Downloads\mymod\out\production\mymod.main\assets\modid\icon.png

specifies the path starting from the drive letter (the C drive) twice.指定从驱动器号(C 驱动器)开始的路径两次。

Redo the optional, but recommended step of setting the output directory and make sure the path is valid.重做设置 output 目录的可选但推荐步骤,并确保路径有效。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 java.nio.file.InvalidPathException:索引 2 处的非法字符 <:>: - java.nio.file.InvalidPathException: Illegal char <:> at index 2: 线程“main”中的异常 java.nio.file.InvalidPathException:索引 72 处的非法字符 <:> - Exception in thread "main" java.nio.file.InvalidPathException: Illegal char <:> at index 72 遇到java.nio.file.InvalidPathException:非法char &lt;:&gt; - Encountering java.nio.file.InvalidPathException: Illegal char <:> 使用闭包编译器格式化javascript文件时,在索引7处获取到java.nio.file.InvalidPathException:非法char &lt;:&gt; - Got java.nio.file.InvalidPathException:Illegal char <:> at index 7 when formatting javascript file using closure compiler 内部错误(java.nio.file.invalidpathexception):非法字符<!--?-->在索引 34 - internal error (java.nio.file.invalidpathexception): Illegal char <?> at index 34 在尝试编译 java 文件时获取 java.nio.file.InvalidPathException: Illegal char &lt;*&gt; - Getting a java.nio.file.InvalidPathException: Illegal char <*> while trying to compile java files java.nio.file.InvalidPathException - java.nio.file.InvalidPathException java.nio.file.InvalidPathException: Illegal char &lt;"&gt; at index 0: "C:\Program Files\Git\bin\\cl.exe at java.base/sun.nio.fs.WindowsPathParser.normalize - java.nio.file.InvalidPathException: Illegal char <"> at index 0: "C:\Program Files\Git\bin\\cl.exe at java.base/sun.nio.fs.WindowsPathParser.normalize 从 src/main/resources 读取会在命令行上给出 java.nio.file.InvalidPathException (但在 Eclipse 中工作正常) - Reading from src/main/resources gives java.nio.file.InvalidPathException on command line (but works fine in Eclipse) Caused by: java.nio.file.InvalidPathException: Illegal char &lt;:&gt; at index 58: com.example.project.app-mergeDebugResources-32:/values/values.xml - Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 58: com.example.project.app-mergeDebugResources-32:/values/values.xml
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM