I have the following problem that appeared suddenly, when I try to run my application.
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /usr/src/app/dai-security/src/main/java/ai/cyclope/dai/service/MailService.java:[9,41] cannot access org.springframework.mail.javamail.JavaMailSender
bad class file: /root/.m2/repository/org/springframework/spring-context-support/6.0.0/spring-context-support-6.0.0.jar(org/springframework/mail/javamail/JavaMailSender.class)
class file has wrong version 61.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
[INFO] 1 error
I have debugged everything and still nothing.