servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] siepkes opened a new pull request #133: Added Spring Security imports for cglib
Date Fri, 01 Feb 2019 10:19:54 GMT
siepkes opened a new pull request #133: Added Spring Security imports for cglib
URL: https://github.com/apache/servicemix-bundles/pull/133
 
 
   When using the Reactive support of Spring Security there are annotation classes which have
apparantly been bytecode enhanced and reference these classes. That's also why they aren't
picked up by BND with wildcards.
   
   This fixes the following class not found exceptions I ran into:
   
   ```
   -----8<------ CUT FOR BREVITY ----8<-----------------
   Caused by: java.lang.NoClassDefFoundError: org/springframework/cglib/core/ReflectUtils
   	at org.springframework.security.config.annotation.method.configuration.ReactiveMethodSecurityConfiguration$$EnhancerBySpringCGLIB$$c4d3d84f.CGLIB$STATICHOOK1(<generated>)
~[?:?]
   	at org.springframework.security.config.annotation.method.configuration.ReactiveMethodSecurityConfiguration$$EnhancerBySpringCGLIB$$c4d3d84f.<clinit>(<generated>)
~[?:?]
   	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_191]
   -----8<------ CUT FOR BREVITY ----8<-----------------
   Caused by: java.lang.ClassNotFoundException: org.springframework.cglib.core.ReflectUtils
not found by org.apache.servicemix.bundles.spring-security-config [387]
   -----8<------ CUT FOR BREVITY ----8<-----------------
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message