J. Brébec created SM-3457:
-----------------------------

             Summary: Spring Bundles declaring @Configuration should import 
cglib explicitly
                 Key: SM-3457
                 URL: https://issues.apache.org/jira/browse/SM-3457
             Project: ServiceMix
          Issue Type: Bug
          Components: bundles
            Reporter: J. Brébec


Spring @Configuration classes are enhanced with cglib using the classloader of 
the bundle defining the class. However, it needs several classes from cglib 
which are not imported by default.

The following imports are necessary in order to use @Configuration (exported by 
spring-core) :
{code}
org.springframework.cglib.core,
org.springframework.cglib.proxy,
org.springframework.cglib.reflect
{code}

at least, spring-security-config and spring-mvc need this imports



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to