编程语言
首页 > 编程语言> > nacos运行报错: java.lang.UnsatisfiedLinkError: XXX\librocksdbjniXXXX.dll: Can‘t find dependent librarie

nacos运行报错: java.lang.UnsatisfiedLinkError: XXX\librocksdbjniXXXX.dll: Can‘t find dependent librarie

作者:互联网

nacos运行报错: java.lang.UnsatisfiedLinkError: XXX\librocksdbjniXXXX.dll: Can't find dependent libraries
错误内容
原因:
解决办法:
错误内容
Caused by: java.lang.UnsatisfiedLinkError: C:\Users\DELL\AppData\Local\Temp\librocksdbjni5233569530670010980.dll: Can’t find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:78)
at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:56)
at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:64)
at org.rocksdb.RocksDB.(RocksDB.java:35)
at com.alipay.sofa.jraft.storage.impl.RocksDBLogStorage.(RocksDBLogStorage.java:75)
at com.alipay.sofa.jraft.core.DefaultJRaftServiceFactory.createLogStorage(DefaultJRaftServiceFactory.java:50)
at com.alipay.sofa.jraft.core.NodeImpl.initLogStorage(NodeImpl.java:571)
at com.alipay.sofa.jraft.core.NodeImpl.init(NodeImpl.java:991)
at com.alipay.sofa.jraft.core.NodeImpl.init(NodeImpl.java:138)
at com.alipay.sofa.jraft.RaftServiceFactory.createAndInitRaftNode(RaftServiceFactory.java:47)
at com.alipay.sofa.jraft.RaftGroupService.start(RaftGroupService.java:129)
at com.alibaba.nacos.core.distributed.raft.JRaftServer.createMultiRaftGroup(JRaftServer.java:268)
at com.alibaba.nacos.core.distributed.raft.JRaftProtocol.addRequestProcessors(JRaftProtocol.java:163)
at com.alibaba.nacos.naming.core.v2.service.impl.PersistentClientOperationServiceImpl.(PersistentClientOperationServiceImpl.java:94)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:175)

原因:
windows电脑上没有安装 :Microsoft Visual C++ 2015 Redistributable。

 

从https://www.microsoft.com/en-us/download/details.aspx?id=48145下载Microsoft Visual C++ 2015 Redistributable 并安装。

标签:lang,alipay,java,core,sofa,报错,com
来源: https://www.cnblogs.com/roak/p/16098121.html