At first Maven failed with the following message:
Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-7-oracle/jre/lib/amd64/xawt/libmawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
This was solved by running:
sudo apt-get install libxrender-dev
Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-7-oracle/jre/lib/amd64/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
So I had to install some other stuff:
sudo apt-get install libxtst-dev
解决Maven安装依赖库问题
本文详细描述了如何解决Maven安装过程中遇到的依赖库缺失问题,通过运行特定命令来安装所需库,最终成功解决了Java运行时环境中的依赖问题。
1万+

被折叠的 条评论
为什么被折叠?



