今天捣鼓阿里云服务器时,因为更新了功能替换jar包结果java -jar时直接报错为
Error: Unable to access jarfile XXXX.jar
找了一个小时发现路径写错了,建议使用Linux的tab 补全
今天尝试在linux_config%2Foverview%3Flogin%3Dfrom_csdn" data-report-click="{"spm":"3001.9566","extra":{}}" target="_blank" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; box-sizing: border-box; background: transparent; color: rgb(78, 161, 219); cursor: pointer; transition: color 0.2s ease 0s; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; text-decoration-line: none; backface-visibility: hidden;">linux上跑springboot项目的时候,遇到了Error: Unable to access jarfile xxx.jar
sudo chmod u+rwx filename sudo chown username:groupname filename
推荐本站淘宝优惠价购买喜欢的宝贝:
本文链接:https://www.hqyman.cn/post/8048.html 非本站原创文章欢迎转载,原创文章需保留本站地址!
休息一下~~