struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Michele (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4814) After upgrade to version 2.5.12 my webapp did not working
Date Thu, 13 Jul 2017 15:27:00 GMT
Marc Michele created WW-4814:
--------------------------------

             Summary: 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:

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. 



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

Mime
View raw message