[ https://issues.apache.org/jira/browse/NIFI-1730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15226654#comment-15226654 ]
Joseph Witt commented on NIFI-1730: ----------------------------------- if worth it refactor into some common module like 'nifi-utils' and if not worth it then just make the package naming more specific to the module each copy is in. > org/apache/nifi/util/ReflectionUtils.java (and possibly other classes) exist > in two different modules under the same FQN > ------------------------------------------------------------------------------------------------------------------------ > > Key: NIFI-1730 > URL: https://issues.apache.org/jira/browse/NIFI-1730 > Project: Apache NiFi > Issue Type: Bug > Reporter: Oleg Zhurakousky > Assignee: Oleg Zhurakousky > Fix For: 0.7.0 > > > _org/apache/nifi/util/ReflectionUtils.java_ specifically exists in _framework > core_ and _mock_ under the same FQN (see below) > * > https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/util/ReflectionUtils.java > * > https://github.com/apache/nifi/blob/master/nifi-mock/src/main/java/org/apache/nifi/util/ReflectionUtils.java > This means that if the two versions are not identical one can start seeing > something along the lines of this: > {code} > java.lang.NoSuchMethodError: > org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)V > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)