When I use Paths.get() to create a directory I encounter exception below.
java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/Users/Desktop/workspaces/sra/emm-be/wsm-kap-api-server/target/test-classes/swagger\swagger.json
This happens when I use the workspace of my Windows machine. For linux, it's working fine.