Error creating bean with name 'ossClient' defined in class path resource [com/alibaba/alicloud/context/oss/OssContextAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.aliyun.oss.OSS]: Factory method 'ossClient' threw exception; nested exception is java.lang.IllegalArgumentException: Oss endpoint can't be empty.
1、查询模块中是否有相互引用oss依赖,如果存在相互引用依赖,注释一个就可以启动了。
2、注释了上面公共模块的oss依赖,留下用文件上传模块的依赖