java.nio.file.InvalidPathException

Illegal char <:> at index 4: file:///c:/selenium/sRcTest.html


Solutions on the web168

Solution icon of googlegroups
Illegal char <:> at index 4: file:///c:/selenium/sRcTest.html

Solution icon of stackoverflow
Illegal char <:> at index 4: file:///c:/selenium/sRcTest.html

Solution icon of github
Illegal char <:> at index 4: file:///c%3A/test/test.mydsl

Solution icon of github
Illegal char <:> at index 4: file:/C:/Users/GIGABYTE/Desktop/gamaTest/plugins/simtools.gaml.extensions.traffic_1.7.0.201702280323.jar!/models/

Solution icon of github
Illegal char <:> at index 4: file:\C:\graylog2-server\graylog2-server.jar!\blacklist .drl

Solution icon of github
Illegal char <:> at index 4: file:///C:/Users/monzta/Documents/Neo4j/default.graphdb/

Solution icon of stackoverflow
Illegal char <:> at index 4: file:\C:\Users\...\target\...-SNAPSHOT.jar!\some_file.txt

Solution icon of github
Illegal char <:> at index 4: file:/E:/tmp/swagger.json

Solution icon of github
Illegal char <:> at index 4: file://src/test/resources/uber.json

Solution icon of github
Illegal char <:> at index 4: file://src/test/resources/uber.json

Stack trace

  • java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:///c:/selenium/sRcTest.html at sun.nio.fs.WindowsPathParser.normalize(Unknown Source) at sun.nio.fs.WindowsPathParser.parse(Unknown Source) at sun.nio.fs.WindowsPathParser.parse(Unknown Source) at sun.nio.fs.WindowsPath.parse(Unknown Source)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 3 months ago
Once, 4 months ago
8 times, 4 months ago
10 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 more bugmates