<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      [ERROR] Error creating bean with name 'aliCloudEdasSdk' defined in class path resource

      環(huán)境

      spring-cloud-alibaba-dependencies 2021.0.1.0

      gulimall-common pom.xml

      <dependency>
          <groupId>com.alibaba.cloud</groupId>
          <artifactId>aliyun-oss-spring-boot-starter</artifactId>
      </dependency>
      
      ....
      
      <dependencyManagement>
      	<dependenies>
      		<dependency>
            <groupId>com.alibaba.cloud</groupId>
            <artifactId>aliyun-spring-boot-dependencies</artifactId>
            <version>1.0.0</version>
            <type>pom</type>
            <scope>import</scope>
           </dependency>
        </dependencies>
      </dependencyManagement>
      

      gulimall-product pom.xml

              <dependency>
                  <groupId>com.atguigu.gulimall</groupId>
                  <artifactId>gulimall-common</artifactId>
                  <version>0.0.1-SNAPSHOT</version>
              </dependency>
      

      錯誤提示

      2022-04-18 21:15:08.104  WARN 79340 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aliCloudEdasSdk' defined in class path resource [com/alibaba/cloud/spring/boot/context/autoconfigure/EdasContextAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.cloud.context.edas.AliCloudEdasSdk]: Factory method 'aliCloudEdasSdk' threw exception; nested exception is java.lang.NoSuchMethodError: com.aliyuncs.profile.DefaultProfile.getHttpClientConfig()Lcom/aliyuncs/http/HttpClientConfig;
      
      
      ***************************
      APPLICATION FAILED TO START
      ***************************
      
      Description:
      
      An attempt was made to call a method that does not exist. The attempt was made from the following location:
      
          com.alibaba.cloud.context.AliCloudSdk.<init>(AliCloudSdk.java:76)
      
      The following method did not exist:
      
          com.aliyuncs.profile.DefaultProfile.getHttpClientConfig()Lcom/aliyuncs/http/HttpClientConfig;
      
      The calling method's class, com.alibaba.cloud.context.AliCloudSdk, was loaded from the following location:
      
          jar:file:/Users/xiaoming/local/.m2/repository/com/alibaba/cloud/alicloud-context/1.0.5/alicloud-context-1.0.5.jar!/com/alibaba/cloud/context/AliCloudSdk.class
      
      The called method's class, com.aliyuncs.profile.DefaultProfile, is available from the following locations:
      
          jar:file:/Users/xiaoming/local/.m2/repository/com/aliyun/aliyun-java-sdk-core/3.4.0/aliyun-java-sdk-core-3.4.0.jar!/com/aliyuncs/profile/DefaultProfile.class
      
      The called method's class hierarchy was loaded from the following locations:
      
          com.aliyuncs.profile.DefaultProfile: file:/Users/xiaoming/local/.m2/repository/com/aliyun/aliyun-java-sdk-core/3.4.0/aliyun-java-sdk-core-3.4.0.jar
      
      
      Action:
      
      Correct the classpath of your application so that it contains compatible versions of the classes com.alibaba.cloud.context.AliCloudSdk and com.aliyuncs.profile.DefaultProfile
      
      

      根據(jù)提示是因為 aliyun-java-sdk-core-3.4.0.jar 這個包沒有指定的方法

      通過查看idea 查看 maven depenencies 依賴圖發(fā)現(xiàn) aliyun-java-sdk-core 并沒有爆紅顯示沖突,
      不過我們將鼠標(biāo)放在 aliyun-java-sdk-core 看到版本顯示為 4.5.0,而點(diǎn)進(jìn)去看到的版本卻是3.4.0。
      說明 aliyun-oss-spring-boot-starter 中引入的是3.4.0版本,那么這個4.5.0版本在哪里呢?
      在 aliyun-spring-boot-dependencies 依賴管理組件中發(fā)現(xiàn)引入的是4.5.0

      解決辦法

      上面已經(jīng)找到?jīng)_突的包
      那么只需要排除3.4.0 即可 (可不單獨(dú)再引入 4.5.0)

              <!-- 阿里云 oss -->
              <dependency>
                  <groupId>com.alibaba.cloud</groupId>
                  <artifactId>aliyun-oss-spring-boot-starter</artifactId>
                  <exclusions>
                      <exclusion>
                          <groupId>com.aliyun</groupId>
                          <artifactId>aliyun-java-sdk-core</artifactId>
                      </exclusion>
                  </exclusions>
              </dependency>
      
      posted @ 2022-04-18 21:56  小鳴Cycling  閱讀(828)  評論(1)    收藏  舉報
      主站蜘蛛池模板: 国产普通话对白刺激| 潮喷失禁大喷水无码| 亚洲中文久久久精品无码| 伊人久久久av老熟妇色| 日韩一区二区三区理伦片| 无码国内精品人妻少妇| 久久综合开心激情五月天| 亚洲熟妇无码爱v在线观看 | 国产精品国产三级国快看| 99久久99久久久精品久久| 中文字幕无码av不卡一区| 无码熟妇人妻av影音先锋 | 国产精品中文字幕日韩| 精品久久人人妻人人做精品| 成人区人妻精品一区二区 | 亚洲伊人久久综合影院| 久久国产乱子伦免费精品无码| 日韩午夜福利片段在线观看| 国产精品一二三区蜜臀av| 久久se精品一区精品二区国产| 日本成人午夜一区二区三区| 精品久久久久中文字幕APP| 久久久久久久久久久久中文字幕| 日韩人妻无码精品久久| 不卡在线一区二区三区视频| 巨熟乳波霸若妻在线播放| 尤物国精品午夜福利视频| 久久精品国产中文字幕| 亚洲小说乱欧美另类| 高清免费毛片| 午夜男女爽爽影院免费视频下载| 日韩精品三区二区三区| 精品午夜福利在线视在亚洲| 亚洲精品色国语对白在线| 一本精品99久久精品77| 久久精品国产99国产精品澳门| 国产精品国产三级国产专i| 亚洲亚洲人成综合网络| 久久精品丝袜高跟鞋| 久久婷婷五月综合色欧美| 国产尤物精品自在拍视频首页|