org.springframework.beans.factory.BeanCreationException: Error creating bean with name ” defined in class path resource [.xml]: No matching factory method found on class []: factory method ‘aspectOf()’. Check that a method with the specified name exists and that it is static.
Solution was to update the aspectj version to <aspectj.version>1.9.9.1</aspectj.version> <dependency><groupId>org.aspectj</groupId><artifactId>aspectjrt</artifactId><version>${aspectj.version}</version></dependency> <dependency><groupId>org.aspectj</groupId><artifactId>aspectjweaver</artifactId><version>${aspectj.version}</version></dependency><dependency><groupId>org.aspectj</groupId><artifactId>aspectjtools</artifactId><version>${aspectj.version}</version></dependency>