I removed some old ones from the project and added several new libraries to the project in the lib folder and committed changes. At first glance, library changes have been successful:

enter image description here

But in the Project Structure , the old libraries are visible (highlighted in red), and there are no new libraries:

enter image description here

How to correctly commit changes to libraries in SVN in Intellij Idea ?

    1 answer 1

    There is that tab in the second screenshot. Select the old libraries and press the red minus in the header of the window.

    Then press the green plus and select the desired new libraries.

    To fill libraries used in the project into the version control system - moveton. Fill in the repository file with a description of dependencies (most likely you have it lies in the root of the project and has the extension .iml)

    • I did this, but the libraries were added only to the local project, and in SVN there were no changes, when downloading the project from SVN the problem did not disappear - Ksenia
    • Well, actually, as far as I understand, stuffing libraries in SVN is a bad form. But if you really want to, then you can go first your way - physically replace them, and then change the project settings for the current project. - rjhdby
    • @rjhdby collected libraries to add to any version control system may not really be very correct, but sometimes it is required. SVN should handle it without problems. - bahrep