logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

idea spring boot @Autowired mapper报红Could not autowire. No beans of ‘UserMapper‘ type found. (最优雅做法)

如下图:网上都是改警告,又是删spring啥的。我觉得都不合适。第一种方法(最佳),在mapper接口类上加@Repository不过注意,要在启动类里加@MappterScan(basePackage = "com.xxx.mapper)第二种:改成这个。@Autowired(required = false)------------分割线----由于写的内容少,我直接扩展加些 相关的知识点就是

sudo gem install cocoapods 没反应问题

1、 尝试更新 sudo gem update --system 2、 查看安装详细要在后面加 -V   sudo gem install cocoapods -V

#cocoapods
Flutter导入别人项目报错

如果报如下类似错误Warning! This package referenced a Flutter repository via the .packages file that is no longer available. The repository from which the 'flutter' tool is currently executing will be used in..

到底了