正在尝试简单的junit测试....
第一个
我得到了这个...我不知道该怎么做,因为我不是真正有经验的intellij java用户
Internal error (java.nio.file.InvalidPathException): Illegal char <?> at index 34: D:/Fakultet/Programiranje Proekti/????, ??, ????/untitled
java.nio.file.InvalidPathException: Illegal char <?> at index 34: D:/Fakultet/Programiranje Proekti/????, ??, ????/untitled
at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
at java.base/java.nio.file.Path.of(Path.java:147)
at java.base/java.nio.file.Paths.get(Paths.java:69)
at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadProject(JpsProjectLoader.java:87)
at org.jetbrains.jps.model.serialization.impl.JpsSerializationManagerImpl.loadModel(JpsSerializationManagerImpl.java:24)
at org.jetbrains.jps.cmdline.JpsModelLoaderImpl.loadModel(JpsModelLoaderImpl.java:34)
at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:64)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:279)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:132)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:219)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
我该怎么办?
2条答案
按热度按时间vsikbqxv1#
@疯狂编码器
将您的项目移出包含非ASCII字符的主目录应该会有所帮助。
不知道如何给予代表这是我能做的最好的,我想
rqcrx0a62#
当我得到这个错误(我的是
Illegal char <:>
)我已经发现在values
文件夹中整个attrs.xml
文件内的注解,并删除它.现在它编译好