在 Ubuntu 中构建 Red5 应用程序失败
我想在 ubuntu 中使用 eclipse 和 red5plugin 构建我的 red5 应用程序。但是当我发布我的应用程序时,它显示这样的错误:
Buildfile: /home/riset/workspace/.metadata/.plugins/org.eclipse.jst.server.generic.core/sjsas.xml
-checkWebDeploy:
deploy.j2ee.web:
[chmod] chmod: changing permissions of `/usr/local/red5/red5.sh': Operation not permitted
[chmod] Result: 1
[jar] Building jar: /home/riset/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/reg_server.jar
[copy] Copying 1 file to /usr/local/red5/webapps/reg_server/WEB-INF/lib
BUILD FAILED
/home/riset/workspace/.metadata/.plugins/org.eclipse.jst.server.generic.core/sjsas.xml:49: Failed to copy /home/riset/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/reg_server.jar to /usr/local/red5/webapps/reg_server/WEB-INF/lib/reg_server.jar due to failed to create the parent directory for /usr/local/red5/webapps/reg_server/WEB-INF/lib/reg_server.jar
Total time: 964 milliseconds
我尝试使用:chmod -R 755 red5
更改文件夹权限,但这与它无关。
谢谢
I want to build my red5 app using eclipse with red5plugin in ubuntu. But when I publish my app it shows error like this :
Buildfile: /home/riset/workspace/.metadata/.plugins/org.eclipse.jst.server.generic.core/sjsas.xml
-checkWebDeploy:
deploy.j2ee.web:
[chmod] chmod: changing permissions of `/usr/local/red5/red5.sh': Operation not permitted
[chmod] Result: 1
[jar] Building jar: /home/riset/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/reg_server.jar
[copy] Copying 1 file to /usr/local/red5/webapps/reg_server/WEB-INF/lib
BUILD FAILED
/home/riset/workspace/.metadata/.plugins/org.eclipse.jst.server.generic.core/sjsas.xml:49: Failed to copy /home/riset/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/reg_server.jar to /usr/local/red5/webapps/reg_server/WEB-INF/lib/reg_server.jar due to failed to create the parent directory for /usr/local/red5/webapps/reg_server/WEB-INF/lib/reg_server.jar
Total time: 964 milliseconds
I try to change folder permission using : chmod -R 755 red5
, but it's nothing to do with it.
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来您没有权限使用 `/usr/local/red5/red5.sh' bash,请尝试 [sudo ] 当打开你的日食时。
It seems you do not have permission to use `/usr/local/red5/red5.sh' bash, try [sudo] when open your eclipse.