针对该问题,极有可能是json文件语法不规范导致的,本人的问题出在忘删去逗号,如错误
{
"switches": {
"s1": { "runtime_json" : "pod-topo/s1-runtime.json" },
"s2": { "runtime_json" : "pod-topo/s2-runtime.json" },
"s3": { "runtime_json" : "pod-topo/s3-runtime.json" },
},
...
}
正确修改:
{
"switches": {
"s1": { "runtime_json" : "pod-topo/s1-runtime.json" },
"s2": { "runtime_json" : "pod-topo/s2-runtime.json" },
"s3": { "runtime_json" : "pod-topo/s3-runtime.json" }
},
...
}
未把文件夹放入到“P4/tutorials/exercises”文件夹下。