maven build error: Error creating shaded jar (Access denied)

浪尽此生 提交于 2019-12-12 14:27:47

问题


I get the following error trying to make an uberjar with maven, any ideas what might be going on?

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating shaded jar: C:\Projects\info\binf\target\classes (Access is denied)

回答1:


It seems like that target folder is in used by some other process. Try to delete the folder manually and see if you are able to do it, if not then identify the process which is using that target folder and kill it.

After this try to do the build again.

Thanks



来源:https://stackoverflow.com/questions/17914955/maven-build-error-error-creating-shaded-jar-access-denied

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!