Maven Compile Error on AEMaaCS 2023.07
Hi AEM Community,
I have the below error which comes when deploying a pipeline to the DEV environment (version 2023.07)
The error logged is shown below -
13:19:31,997 [main] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project eqx-aem-dam.core: Compilation failure
13:19:31,997 [main] [ERROR] /build_root/build/project-dam/core/src/main/java/com/eqx/aem/dam/core/servlet/CustomServlet.java:[3,47] cannot access org.apache.jackrabbit.api.security.user.Group
13:19:31,999 [main] [ERROR] bad class file: /root/.m2/repository/com/adobe/aem/aem-sdk-api/2023.5.11983.20230511T173830Z-230200/aem-sdk-api-2023.5.11983.20230511T173830Z-230200.jar(org/apache/jackrabbit/api/security/user/Group.class)
13:19:32,000 [main] [ERROR] class file has wrong version 55.0, should be 52.0
13:19:32,001 [main] [ERROR] Please remove ormake sure it appears in the correct subdirectory of the classpath.
13:19:32,002 [main] [ERROR] -> [Help 1]
The file CustomServlet.java has the below import statement -
import org.apache.jackrabbit.api.security.user.Group;
Is there any known fix for this issue?
Thanks,
Rohan Garg
