The error message is completely misleading. The path should be written in the following way. It works without any further problems
UsersDF=spark.read.load("file:///examples/src/main/resources/users.parquet","parquet")