Skip to content

java.nio.file.InvalidPathException on Windows #1

Description

@ozavodny

Hi, when i try to run the example project on windows, i get this exception:

Exception in thread "main" java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/C:/Users/ozavodny/.gradle/caches/modules-2/files-2.1/com.elepy/elepy-admin/3.0.0-alpha-15/657122ac2940b852c8df4b8954baf553caca74f0/elepy-admin-3.0.0-alpha-15.jar!/banner.jpg
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 com.elepy.admin.FrontendLoader.setupLogo(FrontendLoader.java:62)
at com.elepy.admin.FrontendLoader.setup(FrontendLoader.java:29)
at com.elepy.Elepy.afterElepyConstruction(Elepy.java:580)
at com.elepy.Elepy.start(Elepy.java:134)
at MainKt.main(main.kt:12)

I think it could be related to this thread https://stackoverflow.com/questions/43972777/exception-in-thread-main-java-nio-file-invalidpathexception-illegal-char

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions