Due to Oracle’s decision to move Java EE to the Eclipse Foundation and rename it Jakarta EE,
there was a need to rename the packages to avoid potential trademark issues.
As a result, the package for validation annotations was changed to jakarta.validation.
@Cron validation expression depending on depreciated package
javax.validation
As result that cannot be use on recent framework like Quarkus that use
jakarta.validation
https://medium.com/@ovinduuu/difference-between-javax-validation-and-jakarta-validation-df0c6dbe5cb3