I tried to run a sample .bal file in Ballerina Samples folder which I downloaded from www.ballerinalang.org and I got this error.
Asked
Active
Viewed 135 times
1 Answers
0
This issue seems to be caused by a URI encoding issue owing to the space in the file path (Program Files
). Can you try from a different location with no spaces in the file path? Refer Illegal character in path at index 16 for more details on this error.

maheeka
- 1,983
- 1
- 17
- 25
-
I moved the files from the above mentioned location to "C:\", then it worked. Thanks – Harshana Jun 10 '17 at 15:15
-
Great.. please accept the answer if you found it helpful :) – maheeka Jun 17 '17 at 11:14