gpt4 book ai didi

java - Magnolia 5.4 升级发布/取消发布时的 java.nio.file.InvalidPathException

转载 作者:行者123 更新时间:2023-12-01 11:16:05 24 4
gpt4 key购买 nike

当我尝试从 5.3.9 升级到 Magnolia 5.4 或从官方网站下载带有 tomcat 的 Magnolia bundle 并运行它时,在发布/取消发布时我收到:

Exception in thread "Thread-68" java.nio.file.InvalidPathException: Illegal char <:> at index 48: C:\dev\apache-tomcat-8.0.21\webapps\mg-auth\/jcr:system/jcr:versionStorage/af/72/95/af72957c-bb65-4132-881c-205eee9e68f3/1.12
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 info.magnolia.resourceloader.file.FileSystemResourceOrigin.getPath(FileSystemResourceOrigin.java:241)
at info.magnolia.resourceloader.file.FileSystemResourceOrigin.hasPath(FileSystemResourceOrigin.java:139)
at info.magnolia.resourceloader.util.Functions$1.apply(Functions.java:60)
at info.magnolia.resourceloader.util.Functions$1.apply(Functions.java:57)
at com.google.common.collect.Iterators$7.computeNext(Iterators.java:652)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
at com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
at com.google.common.collect.Iterators.addAll(Iterators.java:361)
at com.google.common.collect.Lists.newArrayList(Lists.java:160)
at com.google.common.collect.Lists.newArrayList(Lists.java:144)
at info.magnolia.resourceloader.layered.LayeredResourceOrigin.getByPath(LayeredResourceOrigin.java:96)
at info.magnolia.resourceloader.layered.RelayerResourceVisitor.visitFile(RelayerResourceVisitor.java:60)
at info.magnolia.resourceloader.jcr.JcrResourceOrigin$1.onEvent(JcrResourceOrigin.java:330)
at info.magnolia.cms.util.ObservationUtil$ObservationBasedDelayedExecutor$1.run(ObservationUtil.java:253)
at info.magnolia.cms.util.DelayedExecutor$RunnableWrapper.run(DelayedExecutor.java:103)
at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

我对路径结构以及资源加载器尝试解析此路径的原因感到非常困惑。

最佳答案

看起来像MAGNOLIA-6333大部头书。在解决此问题之前,您现在无能为力。 OTOH 从 jira 的报告来看,发布似乎仍然有效。你也一样吗?如果没有,您到底想发布什么?

关于java - Magnolia 5.4 升级发布/取消发布时的 java.nio.file.InvalidPathException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31808321/

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