I want to use the @Slf4j annotation, so I imported this dependency in my pom.xml file
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.29</version>
</dependency>
but I have the error Cannot resolve symbol Slf4j
@Service
@Slf4j
@Transactional(readOnly = true)
public class PasswordResetTokenService {
..
}