2024-11-28在开源项目中写自己的服务,被mybatisplus里面一个拦截报错错误信息如下##Errorqueryingdatabase.Cause:java.lang.IllegalStateException:Nothread-boundrequestfound:Areyoureferringtorequestattributesoutsideofanactualwebrequest,orprocessingarequestoutsideoftheoriginallyreceivingthread?Ify