I am using Spring (id ‘org.springframework.boot’ version ‘3.2.2’) and Spring security (spring-security-core-6.2.2.jar)
While trying to apply @PreAuthorize annotation getting such error: package org.springframework.security.access.prepost does not exist
import org.springframework.security.access.prepost.PreAuthorize;
^
New contributor
Ankita Rajpoot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.