Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4814

After upgrade to version 2.5.12 my webapp did not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 2.5.12
    • 2.5.12
    • Core
    • None
    • apache-tomee-plus-7.0.3

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            easyone Marc Michele
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: