no GurobiJni55 in java.library.path
2015-10-30 18:19
791 查看
搞了两天终于搞定了!
话说为了安装13版本的wikifier,要求得先安装好gurobi,但是完全没有提示说13wikifier所用的只能是gurobi5.5啊喂,所以安装了gurobi6的版本之后,运行mvn intall总是报错test通不过。
Tests in error:
test(edu.illinois.cs.cogcomp.wikifier.inference.GurobiTest): no GurobiJni55 in java.library.path
testCoreference(edu.illinois.cs.cogcomp.wikifier.models.ILPModelTest): Could not initialize class gurobi.GurobiJni
Tests run: 31, Failures: 0, Errors: 2, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:05 min
[INFO] Finished at: 2015-10-30T14:19:39+08:00
[INFO] Final Memory: 31M/1930M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project wikifier: There are test failures.
[ERROR]
[ERROR] Please refer to /home/yaolili/Wikifier2013/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
那个叫郁闷,之前google了一下gurobi的网上讨论社区,大家所讨论的都是LD_LIBRARY_PATH设置有问题,弄了半天觉得还是没有配置错误,后面才后知后觉在/gurobi605/linux64/lib下面没有这个文件,只有libGurobiJni60.so ,特意去gurobi官网下载了旧版本的一看,发现gurobi5.5版本的lib目录下就是libGurobiJni55.so ,所以就更改一下环境变量,发现就顺利搞定了,真是坑人啊。
具体gurobi的安装见下一篇文章。
话说为了安装13版本的wikifier,要求得先安装好gurobi,但是完全没有提示说13wikifier所用的只能是gurobi5.5啊喂,所以安装了gurobi6的版本之后,运行mvn intall总是报错test通不过。
Tests in error:
test(edu.illinois.cs.cogcomp.wikifier.inference.GurobiTest): no GurobiJni55 in java.library.path
testCoreference(edu.illinois.cs.cogcomp.wikifier.models.ILPModelTest): Could not initialize class gurobi.GurobiJni
Tests run: 31, Failures: 0, Errors: 2, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:05 min
[INFO] Finished at: 2015-10-30T14:19:39+08:00
[INFO] Final Memory: 31M/1930M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project wikifier: There are test failures.
[ERROR]
[ERROR] Please refer to /home/yaolili/Wikifier2013/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
那个叫郁闷,之前google了一下gurobi的网上讨论社区,大家所讨论的都是LD_LIBRARY_PATH设置有问题,弄了半天觉得还是没有配置错误,后面才后知后觉在/gurobi605/linux64/lib下面没有这个文件,只有libGurobiJni60.so ,特意去gurobi官网下载了旧版本的一看,发现gurobi5.5版本的lib目录下就是libGurobiJni55.so ,所以就更改一下环境变量,发现就顺利搞定了,真是坑人啊。
具体gurobi的安装见下一篇文章。
相关文章推荐
- 如何在代码中动态设置java_library_path?
- webshpere部署
- java出现no XXX in java.library.path的解决办法及eclipse配置
- javax.management.RuntimeErrorException: java.lang.UnsatisfiedLinkError: no jicmp6 in java.library.pa
- How to Load a Java Native/Dynamic Library (DLL)
- java.library.path
- JAVA调用SAP端RFC接口报java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path错误
- java如何修改java.library.path并且不重启jvm也能生效
- 关于 ArcGIS 32位及64位版本问题
- environments was not found on the java.library.path 问题的解决方法
- java程序获取项目的路径
- java1.8--Optional类
- java1.8--Optional类
- Java内存泄露介绍
- Java开发中获得非Web项目的当前项目路径
- Eclipse汉化过程
- java final关键字
- jsp java
- Struts2防止form表单重复提交
- sigar进行JAVA后台系统资源监控错误