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


Solutions on the web147

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

Solution icon of googlegroups
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 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:///C:/Users/monzta/Documents/Neo4j/default.graphdb/

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:/E:/tmp/swagger.json

Solution icon of stackoverflow
via Stack Overflow by isxana
, 1 year ago
Illegal char <:> at index 4: file:FOO\server.properties

Solution icon of stackoverflow
via Stack Overflow by Jimmy
, 6 months ago
Illegal char <*> at index 36: C:\input\*

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, 5 months ago
Once, 6 months ago
8 times, 6 months ago
10 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 more bugmates