Hello,

I am trying to use custom aspects to wrap certain <Entity>.persist() methods as follows:

TestAspect.java
Code:
package com.test.domain.util;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

@Aspect
public class TestAspect {
	@Before("com.test.domain.util.LegalEntity.persist()")
	public void beforePersist() {
		System.out.println("beforePersist()");
	}
}
applicationContext.xml
Code:
   <aop:aspectj-autoproxy/>
   <bean id="TestAspect1" class="com.xyrodian.resman.domain.util.TestAspect"/>
However, when I try to build the project, it gives the error, "[ERROR] can't find referenced pointcut persist". How can I force it to process LegalEntity_Roo_Entity before TestAspect?