You have several problems with your code:
- You should create your
ValidationTest
object as a bean managed by Spring and not using new <aop:include name="UpdateUIMetadataInterceptor" />
should be<aop:include name="updateUI"/>
; you can actually just stick with<aop:aspectj-autoproxy/>
for simplicity hereProceedingJoinPoint
is not supported for before aspects, so remove it; you can useJoinPoint
instead if you need access to argumentsJsonSchemaAnnotation jsonSchemaAnnotation
parameter should be present forvalidateJson
method of your aspect, as pointed out by frant.hartmfrant.hartm