Error: cannot find symbol
Hi all,
I'm a beginner for AEM and I'm currently following the the AEM Back-end Developer video training. In one of the lessons, when I try to "mvn clean install -P full" project to the crx lite, I got an error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project company-core: Compilation failure [ERROR] C:\Users\guanlun.mu\Desktop\videoTraining\company\company-core\src\main\java\com\adobe\training\core\CleanupServiceImpl.java:[44,65] error: cannot find symbol
The code I used was directly copy-pasted from the student file downloaded from the course, so the code itself should be OK. I'm thinking it may be some maven config error but I'm not sure. Anyone have same error? Lots of thanks!