Can't update files in jar in vim

I have packaged a jar with all the dependencies in it using the Maven build plugin after which I want to edit some config files by entering the code here in vim, but I got below errors when saving.

error (zip # Write) sorry, failed update / Users / boreas / IdeaProjects / hummi ngbird / target / hummingbird-1.0-SNAPSHOT-jar-with-dependencies.jar with log4j.xml

How to solve it?

+3


source to share


1 answer


Make sure you have zip and unzip installed (on Ubuntu you will run sudo apt-get install zip && sudo apt-get install unzip

).



Also make sure the file has write permissions for the current user.

+5


source







All Articles