You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Phil Varner (JIRA)" <ji...@apache.org> on 2015/02/06 17:03:35 UTC

[jira] [Commented] (WW-4435) CXF broken with upgrade of ASM 5 since Struts 2.3.20

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

Phil Varner commented on WW-4435:
---------------------------------

I had the same issue and was able to run CXF compiled for ASM 3 with ASM 5 and my own application's use of ASM with ASM 5 (which uses ASM 5 indirectly through cglib 3.1. cglib 3.1 is compiled against ASM 4, but will run with ASM 5).   

Written up here: http://www.philvarner.com/2015/02/05/using-apache-cxf-2-7-struts2-2-3-and-asm-5-with-maven/

> CXF broken with upgrade of ASM 5 since Struts 2.3.20
> ----------------------------------------------------
>
>                 Key: WW-4435
>                 URL: https://issues.apache.org/jira/browse/WW-4435
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.3.20
>            Reporter: Fabrice Cannizzaro
>            Assignee: Lukasz Lenart
>              Labels: patch
>             Fix For: 2.3.22
>
>
> Hi,
> Since upgrade of Struts in 2.3.20, the version of ASM has been upgraded to 5.0.2.
> Actually, I use CXF with Struts 2.
> The problem is CXF uses ASM 3.x and it's not compatible with the new API of ASM 5.0.2. All interfaces *Visitor.java have been replaced with abstract classes and the class "WrapperClassGenerator" in CXF is broken because it uses the interfaces "AnnotationVisitor", "FieldVisitor" and "MethodVisitor".
> Why do you upgrade ASM 3.3 to ASM 5.0.2 (four years between the two versions!) with this patch of Struts 2 (2.3.20)?
> Is there a workaround?
> Thank you in advance.



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