How can I identify unnecessary jars included in my project?

前端 未结 3 1131
甜味超标
甜味超标 2021-01-13 12:53

I\'m working in a Java project where the axis 2 library from Apache is being used. The axis 2 library is composed of about 20 jar files and some of these are not used projec

3条回答
  •  孤城傲影
    2021-01-13 13:50

    I would follow your original idea of adding one jar at time until it compiles.

    You're right that you can still find run-time errors, but unless the application is too big for a good coverage with manual tests, I would simply run and test it to add any missing jars.

提交回复
热议问题