org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘eduTeacherController’:
扫描包出错,
将注解@MapperScan中的值修改成你的包名如下:
@MapperScan("com.qianmo.eduservice.mapper")
使用阿里云对象储存OSS
读取不到图片问题,
直接在地址栏访问储存地址,出现
You have no right to access this object because of bucket acl
发现阿里云访问权限设置为私有,只要修改读写权限为公有即可,如下: