【spring】SpringAop报错: Null return value from advice does not match primitive return type for

是因为返回值是null,但是接收返回值的类型不允许是null导致的。

我是在多线程中又加了异步,返回值是boolean类型,但是boolean不允许是null导致的。

多线程中不要加异步。

猜你喜欢

转载自blog.csdn.net/mudarn/article/details/118926404