Add the parameterized type to the declaration of QueryDslPredicateExecutor in each repository class. Removed the @SupressWarning annotations from the QueryDSLTest class required when the parameterized type wasn't being specified. So fixing the declarations in the Repository classes removed the condition that was causing the warnings to be generated in the test code.