Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在安装 Maven 3,但是在通过以下方式创建符号链接之后:
sudo ln -s /usr/local/apache-maven-3.0.5/bin/mvn /usr/bin/mvn
然后我输入:
mvn -version
但它返回:
bash: /usr/bin/mvn: No such file or directory
当我返回时,/usr/bin/mvn我可以看到文件在那里,但为什么它不起作用?
/usr/bin/mvn