weblogic.utils.ErrorCollectionException: There are 5 nested errors: java.lang.IllegalArgumentException: Method "countedConstructor" in class "io.astefanutti.metrics.cdi.CountedInterceptor" is defined as lifecycle callback method in deployment descriptor file, but its return type must be void.

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Weblogic 12.2.1.1 and @AroundConstructor
    via by 3246823,
    • weblogic.utils.ErrorCollectionException: There are 5 nested errors: java.lang.IllegalArgumentException: Method "countedConstructor" in class "io.astefanutti.metrics.cdi.CountedInterceptor" is defined as lifecycle callback method in deployment descriptor file, but its return type must be void. at weblogic.j2ee.dd.xml.validator.lifecyclecallback.BaseValidator.error(BaseValidator.java:206) at weblogic.j2ee.dd.xml.validator.lifecyclecallback.BaseValidator.error(BaseValidator.java:229)
    No Bugmate found.