虹软人脸识别2.0踩坑

  1. 项目启动报错:java.lang.UnsatisfiedLinkError: /usr/lib/libarcsoft_face_engine_jni.so: libarcsoft_face_engine.so: cannot open shared object file: No such file or directory
Dockerfile:
	ENV LD_LIBRARY_PATH=/usr/lib
jar运行:
1、vi /etc/profile
2、在最后添加 export LD_LIBRARY_PATH=/usr/lib 并保存
3、source /etc/profile
4、把三个so文件放入/usr/lib

你可能感兴趣的:(Java,虹软)