How to remove the attached source which was added to a Jar?

Are commons-lang-2.4.jar and commons-lang3-3.1.jar required when passing and object array to an action using struts2.3.16.1?

  • I used these jars to pass obejct array to an action ezmorph json-lib commons-collections commons-logging ... commons-lang-2.4.jar I thought I could remove commons-lang3.3.1.jar but when I did it, the web project couldn't start. I added commons-lang3.3.1.jar again, and it worked. I just want to know why or whether I did something wrong.

  • Answer:

    Larger frameworks such as Struts come with a lot of dependencies. It is best to use a dependency manager to sort these out so that they automatically choose the correct jar versions. Example: .

Miguel Paraz at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.