Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove duplicate classes from classpath #197

Closed
chae-reliatec opened this issue Oct 14, 2020 · 3 comments · Fixed by #221
Closed

remove duplicate classes from classpath #197

chae-reliatec opened this issue Oct 14, 2020 · 3 comments · Fixed by #221
Assignees
Labels
bug Something isn't working maintenance Dependency management and legacy code cleanups

Comments

@chae-reliatec
Copy link
Member

remove duplicate classes from classpath by cleaning up dependencies of the same library in different versions

@chae-reliatec chae-reliatec self-assigned this Oct 14, 2020
@chae-reliatec chae-reliatec added bug Something isn't working maintenance Dependency management and legacy code cleanups labels Oct 14, 2020
@chae-reliatec
Copy link
Member Author

is related to issue #195

@chae-reliatec
Copy link
Member Author

Jar overlap report:

castor-xml-1.3.1.jar overlaps with castor-1.2.jar - total overlapping classes: 375
ehcache-2.10.6.jar overlaps with ehcache-core-2.4.6.jar - total overlapping classes: 371
javassist-3.24.0-GA.jar overlaps with javassist-3.8.0.GA.jar - total overlapping classes: 287
jackson-mapper-asl-1.9.13.jar overlaps with jackson-mapper-lgpl-1.8.1.jar - total overlapping classes: 187
commons-beanutils-1.8.0.jar overlaps with commons-beanutils-core-1.8.3.jar - total overlapping classes: 34
jackson-core-asl-1.9.13.jar overlaps with jackson-core-lgpl-1.8.1.jar - total overlapping classes: 31
activation-1.1.jar overlaps with javax.activation-api-1.2.0.jar - total overlapping classes: 18
batik-ext-1.7.jar overlaps with xml-apis-1.3.03.jar - total overlapping classes: 8
jcl-over-slf4j-1.7.6.jar overlaps with commons-logging-1.1.jar - total overlapping classes: 6
spring-jcl-5.1.4.RELEASE.jar overlaps with commons-logging-1.1.jar - total overlapping classes: 5
spring-jcl-5.1.4.RELEASE.jar overlaps with jcl-over-slf4j-1.7.6.jar - total overlapping classes: 4
jboss-transaction-api_1.2_spec-1.1.1.Final.jar overlaps with transaction-api-1.1.jar - total overlapping classes: 3
commons-collections-3.2.1.jar overlaps with commons-beanutils-1.8.0.jar - total overlapping classes: 3
commons-collections-3.2.1.jar overlaps with commons-beanutils-core-1.8.3.jar - total overlapping classes: 3
castor-1.2.jar overlaps with castor-core-1.3.3.jar - total overlapping classes: 2
xercesImpl-2.6.2.jar overlaps with xml-apis-1.3.03.jar - total overlapping classes: 2
stax-ex-1.8.jar overlaps with txw2-2.3.1.jar - total overlapping classes: 1
jaxb-api-2.3.1.jar overlaps with txw2-2.3.1.jar - total overlapping classes: 1
istack-commons-runtime-3.0.7.jar overlaps with txw2-2.3.1.jar - total overlapping classes: 1
istack-commons-runtime-3.0.7.jar overlaps with jaxb-runtime-2.3.1.jar - total overlapping classes: 1
jaxb-api-2.3.1.jar overlaps with FastInfoset-1.2.15.jar - total overlapping classes: 1
jaxb-api-2.3.1.jar overlaps with jaxb-runtime-2.3.1.jar - total overlapping classes: 1
jaxb-api-2.3.1.jar overlaps with istack-commons-runtime-3.0.7.jar - total overlapping classes: 1
istack-commons-runtime-3.0.7.jar overlaps with FastInfoset-1.2.15.jar - total overlapping classes: 1
txw2-2.3.1.jar overlaps with FastInfoset-1.2.15.jar - total overlapping classes: 1
stax-ex-1.8.jar overlaps with FastInfoset-1.2.15.jar - total overlapping classes: 1
stax-ex-1.8.jar overlaps with istack-commons-runtime-3.0.7.jar - total overlapping classes: 1
stax-ex-1.8.jar overlaps with jaxb-runtime-2.3.1.jar - total overlapping classes: 1
FastInfoset-1.2.15.jar overlaps with jaxb-runtime-2.3.1.jar - total overlapping classes: 1
stax-ex-1.8.jar overlaps with jaxb-api-2.3.1.jar - total overlapping classes: 1
quartz-2.2.3.jar overlaps with quartz-oracle-2.1.7.jar - total overlapping classes: 1
txw2-2.3.1.jar overlaps with jaxb-runtime-2.3.1.jar - total overlapping classes: 1

Total number of classes with more than one version: 1355

@chae-reliatec
Copy link
Member Author

modified the dependencies with the following result

Jar overlap report:

batik-ext-1.7.jar overlaps with xml-apis-1.3.04.jar - total overlapping classes: 8
xalan-2.6.0.jar overlaps with xml-apis-1.3.04.jar - total overlapping classes: 6
spring-jcl-5.1.4.RELEASE.jar overlaps with commons-logging-1.0.4.jar - total overlapping classes: 4
jcl-over-slf4j-1.7.6.jar overlaps with commons-logging-1.0.4.jar - total overlapping classes: 4
spring-jcl-5.1.4.RELEASE.jar overlaps with jcl-over-slf4j-1.7.6.jar - total overlapping classes: 3
stax-ex-1.8.jar overlaps with txw2-2.3.1.jar - total overlapping classes: 1
commons-collections-3.2.1.jar overlaps with commons-beanutils-1.8.0.jar - total overlapping classes: 1
istack-commons-runtime-3.0.7.jar overlaps with txw2-2.3.1.jar - total overlapping classes: 1
istack-commons-runtime-3.0.7.jar overlaps with FastInfoset-1.2.15.jar - total overlapping classes: 1
txw2-2.3.1.jar overlaps with FastInfoset-1.2.15.jar - total overlapping classes: 1
stax-ex-1.8.jar overlaps with FastInfoset-1.2.15.jar - total overlapping classes: 1
stax-ex-1.8.jar overlaps with istack-commons-runtime-3.0.7.jar - total overlapping classes: 1
istack-commons-runtime-3.0.7.jar overlaps with jaxb-runtime-2.3.1.jar - total overlapping classes: 1
stax-ex-1.8.jar overlaps with jaxb-runtime-2.3.1.jar - total overlapping classes: 1
FastInfoset-1.2.15.jar overlaps with jaxb-runtime-2.3.1.jar - total overlapping classes: 1
txw2-2.3.1.jar overlaps with jaxb-runtime-2.3.1.jar - total overlapping classes: 1

Total number of classes with more than one version: 36

@rhe-reliatec rhe-reliatec linked a pull request Feb 16, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working maintenance Dependency management and legacy code cleanups
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant