Question
IllegalPathException with AEM 6.6.2
My local instance of AEM 6.6.2 (6.5 lts sp2) runs on a Windows computer. I’m using Java21. When I install a content package with DAM assets, my local file error.log will be flooded with following error message:
java.nio.file.InvalidPathException: Illegal char <:> at index 39: /content/dam/940x530.jpg/jcr:content/jcr:lastModifiedBy
at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:204)
According the Internet, the method function WindowsPathParser is internal used by Java’s Path.of()
How can I fix this?