Closed TeslaCN closed 1 year ago
Thanks for feedback, we will solve it.
The solution is:
Thanks for feedback, we will solve it.
The solution is:
- move META-INF/native/libnetty_transport_native_epoll_x86_64.so in spring-cloud-baidu-thirdparty-commons to new path
- starlight will load libnetty_transport_native_epoll_x86_64.so from new path
Already fixed in version 2022.2.2-SNAPSHOT,please verify and use
<dependency>
<groupId>com.baidu.cloud</groupId>
<artifactId>spring-cloud-starter-baidu-starlight</artifactId>
<version>2022.2.2-SNAPSHOT</version>
</dependency>
Describe the bug A clear and concise description of what the bug is.
https://github.com/apache/shenyu/issues/5033
java.lang.IllegalStateException: Multiple resources found for 'META-INF/native/libnetty_transport_native_epoll_x86_64.so' with different content: [jar:file:/home/wuweijie/.m2/repository/io/netty/netty-transport-native-epoll/4.1.94.Final/netty-transport-native-epoll-4.1.94.Final-linux-x86_64.jar!/META-INF/native/libnetty_transport_native_epoll_x86_64.so, jar:file:/home/wuweijie/.m2/repository/com/baidu/cloud/spring-cloud-baidu-thirdparty-commons/2022.2.0/spring-cloud-baidu-thirdparty-commons-2022.2.0.jar!/META-INF/native/libnetty_transport_native_epoll_x86_64.so]
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Additional context Add any other context about the problem here.