java - 在 Ubuntu 中构建 Red5 应用程序失败

标签 java build permissions 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,但这与之无关。

谢谢

最佳答案

[chmod] chmod: changing permissions of `/usr/local/red5/red5.sh': Operation not permitted

您似乎没有权限使用 `/usr/local/red5/red5.sh' bash,请在打开 eclipse 时尝试 [sudo]。

关于java - 在 Ubuntu 中构建 Red5 应用程序失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6606501/

相关文章:

java - 使用 maven 损坏 zip 中的 JARS

c# - TFS 中的内部版本号格式

linux - WordPress 无法安装主题

C# XMLSerializer 临时目录问题

python - Matplotlib Savefig 不会覆盖旧文件

java - 在 Cayenne 中使用现有的 SQLite 数据库

Java WindowBuilder 无法工作,显示空白设计页面

java - 如何查找本地IP地址

build - 如何构建tizen源?

java - concat Jolt 转换可在演示站点上运行;在代码中不起作用