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

Lukasz Lenart updated WW-4814:
------------------------------
    Description: 
After upgrade from 2.5.10.1 to version 2.5.12 my webapp not working and throw 
following exception:

{noformat}
java.lang.NoSuchMethodError: 
org.apache.commons.lang3.reflect.MethodUtils.getAnnotation(Ljava/lang/reflect/Method;Ljava/lang/Class;ZZ)Ljava/lang/annotation/Annotation;
        at 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:47)
{noformat}

I notice that this have something to do with the upgrade to commons-lang 3.6, 
after investigation my problem i found out that apache tomee 7.0.3 comes with 
commons-lang 3.5.

As workaround i upgrade version in tomee lib folder to 3.6 and my webapp start 
working again.

There is nothing to do for development, ticket is only for helping others to 
workaround and saving time. 

  was:
After upgrade from 2.5.10.1 to version 2.5.12 my webapp not working and throw 
following exception:

java.lang.NoSuchMethodError: 
org.apache.commons.lang3.reflect.MethodUtils.getAnnotation(Ljava/lang/reflect/Method;Ljava/lang/Class;ZZ)Ljava/lang/annotation/Annotation;
        at 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:47)

I notice that this have something to do with the upgrade to commons-lang 3.6, 
after investigation my problem i found out that apache tomee 7.0.3 comes with 
commons-lang 3.5.

As workaround i upgrade version in tomee lib folder to 3.6 and my webapp start 
working again.

There is nothing to do for development, ticket is only for helping others to 
workaround and saving time. 


> After upgrade to version 2.5.12 my webapp did not working
> ---------------------------------------------------------
>
>                 Key: WW-4814
>                 URL: https://issues.apache.org/jira/browse/WW-4814
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.5.12
>         Environment: apache-tomee-plus-7.0.3
>            Reporter: Marc Michele
>            Priority: Minor
>
> After upgrade from 2.5.10.1 to version 2.5.12 my webapp not working and throw 
> following exception:
> {noformat}
> java.lang.NoSuchMethodError: 
> org.apache.commons.lang3.reflect.MethodUtils.getAnnotation(Ljava/lang/reflect/Method;Ljava/lang/Class;ZZ)Ljava/lang/annotation/Annotation;
>         at 
> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:47)
> {noformat}
> I notice that this have something to do with the upgrade to commons-lang 3.6, 
> after investigation my problem i found out that apache tomee 7.0.3 comes with 
> commons-lang 3.5.
> As workaround i upgrade version in tomee lib folder to 3.6 and my webapp 
> start working again.
> There is nothing to do for development, ticket is only for helping others to 
> workaround and saving time. 



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

Reply via email to