首页 > 编程语言 >arm环境,报错 no com_alibaba_nacos_shaded_io_grpc_netty_shaded_netty_transport_native_epoll_aarch_64 in j

arm环境,报错 no com_alibaba_nacos_shaded_io_grpc_netty_shaded_netty_transport_native_epoll_aarch_64 in j

时间:2024-06-21 19:10:42浏览次数:29  
标签:netty nacos alibaba aarch 报错 io shaded cloud

大概率版本号不对,
sprintcloud版本+netty版本

netty版本 4.1.101.Final

点击查看代码
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.101.Final</version>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-transport-native-epoll</artifactId>
    <version>4.1.101.Final</version>
    <classifier>linux-aarch_64</classifier>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-transport-native-kqueue</artifactId>
    <version>4.1.101.Final</version>
    <classifier>osx-aarch_64</classifier>
</dependency>
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-resolver-dns-native-macos</artifactId>
    <version>4.1.101.Final</version>
    <classifier>osx-aarch_64</classifier>
</dependency>

springcloud版本 
<spring-cloud.version>2021.0.5</spring-cloud.version>
<spring-cloud-alibaba.version>2021.0.4.0</spring-cloud-alibaba.version>
<nacos-client.version>2.3.2</nacos-client.version>

<dependency>
  <groupId>org.springframework.cloud</groupId>
  <artifactId>spring-cloud-dependencies</artifactId>
  <version>${spring-cloud.version}</version>
  <type>pom</type>
  <scope>import</scope>
  <exclusions>
      <exclusion>
          <groupId>com.alibaba.nacos</groupId>
          <artifactId>nacos-client</artifactId>
      </exclusion>
  </exclusions>
</dependency>

<dependency>
  <groupId>com.alibaba.nacos</groupId>
  <artifactId>nacos-client</artifactId>
  <version>${nacos-client.version}</version>
</dependency>

<!--Spring Cloud & Alibaba 相关依赖-->
<dependency>
  <groupId>com.alibaba.cloud</groupId>
  <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  <version>${spring-cloud-alibaba.version}</version>
  <type>pom</type>
  <scope>import</scope>
</dependency>

标签:netty,nacos,alibaba,aarch,报错,io,shaded,cloud
From: https://www.cnblogs.com/weixing001/p/18261225

相关文章