Getting error (Error: package org.springframework.security.access.prepost does not exist), while applying @preauthrization annotation
I am using Spring (id ‘org.springframework.boot’ version ‘3.2.2’) and Spring security (spring-security-core-6.2.2.jar)