12 Replies Latest reply on May 6, 2013 9:45 AM by Martin Kouba

    WELD-001101 Member of array type or annotation type must be annotated @NonBinding

    Paul Robinson Master

      Hello,

       

      I'm in the process of implementing an interceptor for this Interceptor Binding https://github.com/jboss/jboss-transaction-api_spec/blob/master/src/main/java/javax/transaction/Transactional.java. However, when I try to deploy it, I get this exception (I need to pick it out via debugger, due to WELD-1423):

       

      org.jboss.weld.exceptions.DefinitionException: WELD-001101 Member of array type or annotation type must be annotated @NonBinding:  [EnhancedAnnotatedMethodImpl] public abstract javax.transaction.Transactional.rollbackOn()
      

       

      So I think the problem is that the interface above should have @NonBinding added to the rollbackOn and dontRollbackOn attributes. Is this correct? Or maybe, I am implementing the interceptor in such a fashion that @NonBinding is required, in which I could maybe change my implementation to support the above interface as-is?

       

      Thanks in advance,

       

      Paul.