原文:Error: A JNI error has occurred, please check your installation and try again

自己写的maven项目打包以后的一个email测试类jar,放到linux上运行时报错: Error: A JNI error has occurred, please check your installation and try again 原因是在Pom.xml中写入的jar,在Linux上缺少,解决方法是将pom.xml中的jar放到Linux上,运行是通过 cp加载上去,比如: 就是将j ...

2018-03-21 19:43 0 2628 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM