You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "J. Brébec (JIRA)" <ji...@apache.org> on 2017/08/09 08:57:00 UTC
[jira] [Created] (SM-3457) Spring Bundles declaring @Configuration
should import cglib explicitly
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)