Remove cglib dependency
See original GitHub issueI was working on an older code base and it had cglib among other versions that should be removed when performing a migration to 5.x. Here were the entries that should be removed:
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>2.2.2</version>
</dependency>
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Why Spring 3 needs explicit cglib dependency declaration ...
As of Spring 3.2, it is no longer necessary to add CGLIB to your project classpath, as CGLIB classes are repackaged under org.springframework...
Read more >Remove CGLIB · Issue #327 - GitHub
In this issue I want to discuss the pros and cons to remove CGLIB and to base p6spy on manual wrapper objects for...
Read more >Introduction to cglib - Baeldung
To use cglib in your project, just add a Maven dependency (latest version can be found here): <dependency> <groupId>cglib</groupId> ...
Read more >CGLIB is required to process @Configuration classes
Either add CGLIB to the classpath or remove the following ... If not, add below dependency in your pom.xml file, which will solve...
Read more >Java 17 support - Google Groups
In the latest release (5.0.1) the CGLIB dependency has been removed leaving ASM as the only shaded dependency - because it's shaded it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @pway99 !
The need for cglib explicitly was removed back in Spring 3.2 as they now repackage it within Spring APP:
https://docs.spring.io/spring-framework/docs/3.2.0.RELEASE/spring-framework-reference/html/migration-3.2.html