不执行Before啊

来源:2-1 使用AOP处理请求(上)

weixin_慕尼黑6503715

2020-07-06 22:04

http://img3.mukewang.com/5f032f430001639a08140511.jpg

http://img1.mukewang.com/5f032f430001b7aa12090440.jpg

http://img4.mukewang.com/5f032f4300017cd403280556.jpg

http://img4.mukewang.com/5f032f44000184d608380360.jpg

2020-07-06 22:01:48.666  INFO 15136 --- [           main] o.m.s.s.Springboottest1Demo1Application  : Started Springboottest1Demo1Application in 5.919 seconds (JVM running for 6.436)

2020-07-06 22:01:56.992  INFO 15136 --- [nio-8081-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/sd1]    : Initializing Spring DispatcherServlet 'dispatcherServlet'

2020-07-06 22:01:56.993  INFO 15136 --- [nio-8081-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'

2020-07-06 22:01:57.006  INFO 15136 --- [nio-8081-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 13 ms

执行list方法

2020-07-06 22:01:57.132  INFO 15136 --- [nio-8081-exec-1] o.h.h.i.QueryTranslatorFactoryInitiator  : HHH000397: Using ASTQueryTranslatorFactory

Hibernate: select luckymoney0_.id as id1_0_, luckymoney0_.consumer as consumer2_0_, luckymoney0_.money as money3_0_, luckymoney0_.producer as producer4_0_ from luckymoney luckymoney0_


写回答 关注

1回答

  • weixin_慕尼黑6503715
    2020-07-06 22:59:07

    解决了。。。应该放到一个包里面。。

Spring Boot进阶之Web进阶

《2小时学习Spring Boot》之进阶教程,针对Web方面的相关技巧

104040 学习 · 393 问题

查看课程

相似问题