We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 695b010 commit 18fecbeCopy full SHA for 18fecbe
Spring-AOP/pom.xml
@@ -39,7 +39,7 @@
39
<dependency>
40
<groupId>org.springframework</groupId>
41
<artifactId>spring-aop</artifactId>
42
- <version>5.1.4.RELEASE</version>
+ <version>5.2.1.RELEASE</version>
43
</dependency>
44
45
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-aop -->
Spring-AOP/src/main/java/com/bruis/learnaop/testaspectJ/TestMain.java
@@ -7,7 +7,7 @@
7
public class TestMain {
8
public static void main(String[] args) {
9
ApplicationContext context = new ClassPathXmlApplicationContext("aspectTest.xml");
10
- TestBean bean = (TestBean)context.getBean("testaspectJ");
+ TestBean bean = (TestBean)context.getBean("test");
11
bean.test();
12
}
13
0 commit comments