不加事务的时候还能运行,就是数据不安全,用这个@Transactional实现事务之后就报这样的错误,谁会,可以指导一下吗
org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'accountService' is expected to be of type 'com.heshuaijie.bank.service.impl.AccountServiceImpl' but was actually of type 'jdk.proxy2.$Proxy18'