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

It is because the return value is null, but the type of the receiving return value is not allowed to be null.

I added asynchrony to multithreading, and the return value is boolean type, but boolean is not allowed to be caused by null.

Do not add asynchrony in multithreading.

Guess you like

Origin blog.csdn.net/mudarn/article/details/118926404