OptaPlanner uses getClass().getResource("/org/optaplanner/examples/nurserostering/solver/nurseRosteringSolverConfig.xml")
to retrieve that classpath resource. If it's not found, that exception is thrown.
Check if optaplanner-examples/src/main/resources
is properly marked as a (resources) source path in your IDE or build.