You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2015/06/14 22:42:00 UTC

[jira] [Commented] (CXF-6461) Smarter deactivation of SpringAopClassHelper

    [ https://issues.apache.org/jira/browse/CXF-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585262#comment-14585262 ] 

Sergey Beryozkin commented on CXF-6461:
---------------------------------------

The property that supports using Spring is set to true by default, and it can only be disabled by the system flag; having the property itself set to true is not sufficient for Spring to be used as SpringAopClassHelper will fail to initialize if no Spring is available on the classpath.
Does it not work in your case ?

 

> Smarter deactivation of SpringAopClassHelper
> --------------------------------------------
>
>                 Key: CXF-6461
>                 URL: https://issues.apache.org/jira/browse/CXF-6461
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 3.0.5
>            Reporter: John D. Ament
>
> Improve how ClassHelper activates Spring or default implementation.
> https://github.com/apache/cxf/blob/3.0.x-fixes/core/src/main/java/org/apache/cxf/common/util/ClassHelper.java#L40
> Instead of relying solely on the JVM flag, also check for spring on the classpath.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)