java.lang.UnsatisfiedLinkError

2019-09-05 06:06发布

问题:

Exception in thread "Thread-17" java.lang.UnsatisfiedLinkError: MetadataMatching.SimXMLModule.computeStructSimXML([Ljava/lang/String;)[D
    at MetadataMatching.SimXMLModule.computeStructSimXML(Native Method)
    at MetadataMatching.SimXMLModule.<init>(SimXMLModule.java:49)
    at MetadataMatching.MatchMetadata.run(MatchMetadata.java:65)

computeStructSimXML" is a native method implemented by C++ in "libSimXMLModule.so

Why it prompts throw java.lang.UnsatisfiedLinkError , anyone can help me ? Thank you very much?

回答1:

The library containing the native method computeStructSimXML cannot be found. You need to add libSimXMLModule.so to your LD_LIBRARY_PATH.