Maven 无法将工件复制到工作目录
我正在使用 Maven,我对 Maven 没有更多的了解,当我安装我的项目时,它将成功构建,但是当我使用 Maven 测试我的项目时,它会给我一个错误,就像
Unable to copy an artifact to the working directory
我授予了我的项目目录的所有权限详细信息错误如下所示,我该如何解决我的问题 问题以及如何运行我的项目
,请帮助我
E [信息] ---------------------------------------------------------- ------------------------
[INFO] Total time: 1 minute 24 seconds
[INFO] Finished at: Thu Jan 27 17:44:59 IST 2011
[INFO] Final Memory: 35M/84M
[INFO] ------------------------------------------------------------------------
i am using maven i don't have more knowledge about maven when i am install my project then it will successfully build but when i am test my project with maven it will give me an error like
Unable to copy an artifact to the working directory
i gave all permission to my project directory detail error as below so how can i resolve my
problem and how to run my project
so please help me
E
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 24 seconds
[INFO] Finished at: Thu Jan 27 17:44:59 IST 2011
[INFO] Final Memory: 35M/84M
[INFO] ------------------------------------------------------------------------
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果仔细查看错误,您会看到这一行...
虽然其他工件被复制到
/home/nayan/workspace/ONiT/servlet/
的子文件夹中,但这一行有所不同。很可能/home/nayan/workspace/ONiT/mediaPlayer/
文件夹不存在或没有write
权限。If you look carefully at the error, you see this line...
While other artifacts are getting copied to the subfolders of
/home/nayan/workspace/ONiT/servlet/
, this one is different. Most likely/home/nayan/workspace/ONiT/mediaPlayer/
folder does not exist or does not havewrite
permission.