I tried that as well but same result
format.setFilePath("file:/c:/proj/test/a.txt.txt");
Caused by: *java.nio.file.InvalidPathException*: Illegal char <:> at index
2: /c:/proj/test/a.txt.txt
On Mon, Jul 31, 2017 at 6:04 AM, Stephan Ewen <[email protected]> wrote:
> I think that on Windows, you need to use "file:/c:/proj/..." with just one
> slash after the scheme.
>
>
>
> On Mon, Jul 31, 2017 at 1:24 AM, Mohit Anchlia <[email protected]>
> wrote:
>
>> This is what I tired and it doesn't work. Is this a bug?
>>
>> format.setFilePath("file:///c:/proj/test/a.txt.txt");
>>
>> On Sun, Jul 30, 2017 at 2:10 PM, Chesnay Schepler <[email protected]>
>> wrote:
>>
>>> Did the path by chance start with file://C:/... ?
>>>
>>> If so, please try file:///C: ...
>>>
>>>
>>> On 30.07.2017 22:28, Mohit Anchlia wrote:
>>>
>>> I am using flink 1.3.1 and getting this exception. Is there a workaround?
>>>
>>> Caused by: *java.nio.file.InvalidPathException*: Illegal char <:> at
>>> index 2: /C:/Users/m/default/flink-example/pom.xml
>>>
>>> at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
>>>
>>> at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
>>>
>>> at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
>>>
>>>
>>>
>>
>