only throw an error if the classes folder can't be found