Spring Boot - Aspect-Oriented Programming
Identify the error in this Spring AOP logging advice code:
@Before("execution(* com.example..*(..))")
public void logStart() {
System.out.println("Starting method");
}
@AfterReturning("execution(* com.example.service.*.*(..))")
public void logEnd() {
System.out.println("Method ended");
}