The web project needs a project reference to the class library project. Once that's done look at your code;
[Validator(typeof(CategoryValidator))]
You're asking it to use a type called CategoryValidator but that is the class name, not the type, the type is actually
Spicy.Entities.Validators.CategoryValidator
The type is the namespace and the class name. So you could change your code to
[Validator(typeof(Spicy.Entities.Validators.CategoryValidator))]
Or leave that line as it is and add the following using statement to the top of the class file
using Spicy.Entities.Validators;
If you right-click on the CategoryValidator text (it should have a wavy line under it) there is a "Refactor" section of the context menu that will do either of these actions for you.