You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2017/09/04 11:57:01 UTC

[jira] [Resolved] (SM-3457) Spring Bundles declaring @Configuration should import cglib explicitly

     [ https://issues.apache.org/jira/browse/SM-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved SM-3457.
--------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: bundles-2017.08
>
>
> 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)